Configuration Example For A Unidirectional Span Session; Configuration Example For A Virtual Span Session - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuration Example for a Unidirectional SPAN Session

This example shows how to monitor a higher number of specific VLAN sources than the VLAN source limits
currently supported in the extended SPAN monitor session:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# mode extended
switch(config-monitor)# source interface all
switch(config-monitor)# filter vlan 1-1000
switch(config-monitor)# destination interface ethernet 4/1
switch(config-monitor)# no shut
switch(config-monitor)# exit
switch(config)# show monitor session 2
switch(config)# copy running-config startup-config
Configuration Example for a Unidirectional SPAN Session
To configure a unidirectional SPAN session, follow these steps:
Procedure
Step 1
Configure destination ports in access mode and enable SPAN monitoring.
Example:
switch# configure terminal
switch(config)# interface ethernet 2/5
switch(config-if)# switchport
switch(config-if)# switchport monitor
switch(config-if)# no shut
switch(config-if)# exit
switch(config)#
Step 2
Configure a SPAN session.
Example:
switch(config)# no monitor session 3
switch(config)# monitor session 3 rx
switch(config-monitor)# source interface ethernet 2/1-3, ethernet 3/1 rx
switch(config-monitor)# filter vlan 3-5, 7
switch(config-monitor)# destination interface ethernet 2/5
switch(config-monitor)# no shut
switch(config-monitor)# exit
switch(config)# show monitor session 3
switch(config)# copy running-config startup-config

Configuration Example for a Virtual SPAN Session

Procedure
Step 1
Configure destination ports in access or trunk mode, and enable SPAN monitoring.
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
322
Configuring SPAN

Advertisement

Table of Contents
loading

Table of Contents