04-07-2017 10:53 AM - edited 03-08-2019 10:07 AM
Question in subject really. I had a bunch of vlan monitored in session x. Destination is a local port.
Do I need to stop shut/add or remove/unshut?
Solved! Go to Solution.
04-13-2017 02:19 PM
It doesn't appear span monitor session needs to be stopped in order to add/remove monitored vlans.
switch(config)# monitor session 1
Monitored vlans
switch(config-monitor)# source vlan 3, 6-10 tx
Add vlan 1
switch(config-monitor)# no source vlan 3, 6-10 tx
switch(config-monitor)# source vlan 1,3, 6-10 tx
Remove vlan 3
switch(config-monitor)# no source vlan 3, 6-10 tx
switch(config-monitor)# source vlan 6-10 tx
switch(config-monitor)# filter vlan 3, 7
switch(config)# interface ethernet 3/1
switch(config-if)# switchport
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk allowed vlan add 100-200
switch(config-if)# switchport monitor
switch(config-if)# no shut
switch(config)# interface ethernet 3/2
switch(config-if)# switchport
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk allowed vlan add 201-300
switch(config-if)# switchport monitor
switch(config-if)# no shut
switch(config)# monitor session 3
switch(config-monitor)# source vlan 100-300
switch(config-monitor)# destination interface ethernet 3/1-2
switch(config-monitor)# no shut
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/5_x/nx-os/system_management/configuration/guide/sm_nx_os_cg/sm_14span.html
I hope this helps. Good luck!
04-13-2017 02:19 PM
It doesn't appear span monitor session needs to be stopped in order to add/remove monitored vlans.
switch(config)# monitor session 1
Monitored vlans
switch(config-monitor)# source vlan 3, 6-10 tx
Add vlan 1
switch(config-monitor)# no source vlan 3, 6-10 tx
switch(config-monitor)# source vlan 1,3, 6-10 tx
Remove vlan 3
switch(config-monitor)# no source vlan 3, 6-10 tx
switch(config-monitor)# source vlan 6-10 tx
switch(config-monitor)# filter vlan 3, 7
switch(config)# interface ethernet 3/1
switch(config-if)# switchport
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk allowed vlan add 100-200
switch(config-if)# switchport monitor
switch(config-if)# no shut
switch(config)# interface ethernet 3/2
switch(config-if)# switchport
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk allowed vlan add 201-300
switch(config-if)# switchport monitor
switch(config-if)# no shut
switch(config)# monitor session 3
switch(config-monitor)# source vlan 100-300
switch(config-monitor)# destination interface ethernet 3/1-2
switch(config-monitor)# no shut
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/5_x/nx-os/system_management/configuration/guide/sm_nx_os_cg/sm_14span.html
I hope this helps. Good luck!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide