(All traffic to and from the CPU for all VDC’s is visible.)ħ–The source traffic direction can be configured as rx, tx, or both. When configuring a source interface, specify the primary interface as the source interface and use the filter-vlan command to specify the 802.1q tag associated to the sub-interface.Ħ–The in-band control-plane interface to the CPU can be monitored only from the default VDC. They can be enabled with the no shut command.ģ–An active SPAN session uses hardware resources and should always be disabled with the shut command when monitoring is not required.Ĥ–The supervisor module management interface (mgmt0) cannot be configured as a SPAN source or destination interface.ĥ–Ethernet and Port-Channel sub-interfaces cannot be configured as source or destination interfaces. To enable deterministic behavior, explicitly suspend the sessions 3 to 10 with the monitor session session-number shut command.Ģ–Monitor sessions are disabled by default. 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. During startup, the order of active sessions is reversed the last two sessions are active. When you configure more than two SPAN sessions, the first two sessions are active. You can configure up to 18 sessions however you can have only 2 sessions active at a time. !- To enable the SPAN session, by default session in shutdown state.ġ–The session-number can be from 1 to 18. Switch7000-1(config-monitor)#destination interface ethernet 3/48 Switch7000-1(config-monitor)#source interface ethernet 3/1 both !-Configure the source port with traffic direction.
Switch7000-1(config-if)#switchport monitor !- Configures the switchport interface as a SPAN destination. !- Configures the switchport parameters for a port. Switch7000-1(config)#interface ethernet 3/48 In this example, the switch interface ethernet 3/1 has been configured as the source port and the interface ethernet 3/48 has been configured as the destination port.
Cisco switch port numbering series#
Here we are trying to configure single SPAN session on Nexus 7000 Series Switch. In summary, you must set the mode or the destination port to monitor before you set it as a destination for the SPAN traffic. For example, if a switch had 5 banks, it would have bank numbers 0-4. Switches that have multiple banks start with 0 and are assigned from bottom to top.
The new generation of Cisco switches based on the Nexus platform have a slightly more complicated SPAN setup when compared to other Cisco switch platforms. The switch interface numbering scheme includes the bank number and port number: Switches that have one fixed bank are assigned 0. When doing the network troubleshooting, monitoring or IPS/IDS, port mirroring is used to send a copy of network packets seen on a switch interface(s)/VLAN(s) to another network interface on the same switch(or different switch with RSPAN).