cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
230
Views
0
Helpful
0
Replies

How to span a trunk port on Nexus 7010 with vlan filter

zhilimailbox
Level 1
Level 1

Hi, there

I have a trunk port with the following config on 7010. 

interface Ethernet1/5
switchport
switchport mode trunk
switchport trunk allowed vlan 3-6
spanning-tree port type edge
spanning-tree bpduguard enable
no shutdown

I would like to span this port on both directions and capture traffic for vlan 3 only. The destination port will be e1/7.

int e1/7
switchport
switchport mode access
switchport monitor
!
no monitor session 101
monitor session 101
description span_Vlan3_only
source interface e1/5 both
filter vlan 3
destination interface 1/7
no shut
!
end

I can't test since it is a production switch. Could any check the config for me? any suggestions?

Thanks, 

0 Replies 0
Review Cisco Networking for a $25 gift card