Reset Search
 

 

Article

How to configure SPAN / Port mirroring in NOS?

« Go Back

Information

 
TitleHow to configure SPAN / Port mirroring in NOS?
Question
Switch Port Analyzer Protocol ( SPAN )

- This feature is available on VDXs
- This works like Port Mirroring on other platforms
- Is used on a network switch to send a copy of network packets seen on one switch port to a network monitoring connection on another switch port.

Environment
Answer
General Considerations and Guidelines

- LLDP needs to be disable in the interface that will mirror the traffic.( Command: lldp disable ).
-Sflow needs to be disable in the interface that will mirror the traffic. ( Command: no sflow enable ).
- The source port cannot be an ISL port.
- The destination port cannot be an ISL, Layer 2, Layer 3, QoS, ACL, 802.1x, LAG member, LLDP, or port-profile port.
- Only edge ports are eligible for mirroring.
- Mirroring of Inter-Switch Link (ISL) ports is supported, but the destination port should reside on the same RBridge
- TRILL ports cannot be designated as a destination port.
- The destination mirror port can handle from 1 to 40 Gbps (line rate) worth of mirror traffic, depending on the capability of the destination port.
- If a port is configured as a destination port for bidirectional mirroring, no other port supported by that ASIC can be made a destination port for any type of mirroring.

SPAN Configuration

switch(config)# monitor session 1
switch(conf-mon-sess-1)# source tengigabitethernet 11/0/1 destination tengigabitethernet 11/0/25 direction both

SPANVerification

switch# show monitor session 1
Session :1
Description :Test SPAN Session
State :Enabled
Source interface : 11/0/1 (Up)
Destination interface : 11/0/25 (Up)
Direction :Both
----------------------------------------------------------------------------------------------------------------------
switch# show running-config monitor session
monitor session 1
source tengigabitethernet 11/0/1 destination tengigabitethernet 11/0/25 direction both
----------------------------------------------------------------------------------------------------------------------
switch# show span path session 1
Session : 1
Path : Te 11/0/1->Te 11/0/25

Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255