Configuring Source Port Channels, Vsans, Or Vlans - Cisco Nexus 5000 Series Configuration Manual

System management configuration guide
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Configuring Source Port Channels, VSANs, or VLANs

The following example shows how to configure an Ethernet SPAN source port:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface ethernet 1/16
switch(config-monitor)#
The following example shows how to configure a Fibre Channel SPAN source port:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface fc 2/1
switch(config-monitor)#
The following example shows how to configure a virtual Fibre Channel SPAN source port:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface vfc 129
switch(config-monitor)#
Configuring Source Port Channels, VSANs, or VLANs
You can configure the source channels for a SPAN session. These ports can be port channels, SAN port
channels, VSANs and VLANs. The monitored direction can be ingress, egress, or both and applies to all
physical ports in the group.
The Cisco Nexus 5000 Series switch supports two active SPAN sessions. The Cisco Nexus 5548 Switch
Note
supports four active SPAN sessions. When you configure more than two SPAN sessions, the first two
sessions are active. During startup, the order of active sessions is reversed; the last two sessions are active.
For example, if you configured ten sessions 1 to 10 where 1 and 2 are active, after a reboot, sessions 9
and 10 will be active. To enable deterministic behavior, explicitly suspend sessions 3 to 10 with the
monitor session session-number shut command.
Procedure
Step 1
Step 2
Step 3
This example shows how to configure a port channel SPAN source:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# source interface port-channel 1 rx
switch(config-monitor)# source interface port-channel 3 tx
switch(config-monitor)# source interface port-channel 5 both
switch(config-monitor)#
Cisco Nexus 5000 Series NX-OS System Management Configuration Guide, Release 5.2(1)N1(1)
176
Command or Action
switch# configure terminal
switch(config) # monitor session
session-number
switch(config-monitor) # source {interface
{port-channel | san-port-channel}
channel-number [rx | tx | both] | vlan
vlan-range | vsan vsan-range }
Purpose
Enters global configuration mode.
Enters monitor configuration mode for the
specified SPAN session.
Configures port channel, SAN port channel,
VLAN, or VSAN sources. For VLAN or VSAN
sources, the monitored direction is implicit.
Configuring SPAN

Advertisement

Table of Contents
loading

Table of Contents