Consider a monitor session with source as Ex0/1 and destinations as Ex0/2 and Ex0/3 with vlan 100.
SEFOS-1# show monitor all Session : 1 ------- Source Ports Rx : None Tx : None Both : Ex0/1 Destination Ports : Ex0/2 Ex0/3 VLAN : 100
The following are the common errors while configuring monitor sessions.
Configuring a port as a mirror destination.
SEFOS-1# configure terminal SEFOS-1(config)# monitor session 1 source interface extreme-ethernet 0/2 % Port already configured as Mirror Destination SEFOS-1 (config)# end
Configuring a port as a mirror source.
SEFOS-1(config)# monitor session 1 source interface extreme-ethernet 0/3 % Port already configured as Mirror Source SEFOS-1 (config)# end
Configuring a destination port again for the same session.
SEFOS-1(config)# monitor session 1 destination interface extreme-ethernet 0/5 % CLI Command Failed % Maximum primary destination mirror ports exceeded SEFOS-1 (config)# end
Configuring a mirror destination as a destination or source of the other session.
SEFOS-1(config)# monitor session 2 destination interface extreme-ethernet 0/1 secondary interface extreme-ethernet 0/2 vlan 1223 %Command Failed: Invalid use secondary interfaces SEFOS-1 (config)# end
Configuring a mirror with the primary VLAN.
|
SEFOS-1(config)# monitor session 1 destination interface extreme-ethernet 0/1 secondary interface extreme-ethernet 0/10 vlan 200 %Cannot configure Mirror with Principal VLAN SEFOS-1(config)# monitor session 1 destination interface extreme-ethernet 0/1 secondary interface extreme-ethernet 0/10 vlan 500 SEFOS-1 (config)# end
Configuring a VLAN being used in the secondary mirror.
SEFOS-1# show monitor all Session : 1 ------- Destination Ports : Ex0/1 Ex0/10 VLAN : 500 SEFOS-1# configure terminal SEFOS-1(config)# vlan 500 SEFOS-1(config-vlan)# ports add extreme-ethernet 0/9 %Cannot configure Vlan 500:Currently being used for Mirroring SEFOS-1(config-vlan)# end