RSIDC_6509
interface GigabitEthernet3/11
speed nonegotiate
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 222
switchport mode trunk
---------------------------
93—A
observe-port 1 interfaceGigabitEthernet1/0/12 vlan 77 /*创建观察口,并打上VLAN ID
interface GigabitEthernet1/0/12 /*此口为93_A与93_B的互联端口
portlink-type trunk
porttrunk allow-pass vlan 2 to 4094
interface GigabitEthernet1/0/24
portlink-type trunk
porttrunk all vlan 222
undonego auto
port-mirroring to observe-port 1 inbound /*应用到镜像口
port-mirroring to observe-port 1 outbound
=-----------------------------------------------
93_B
interface GigabitEthernet1/0/12 /*此口为93_A与93_B的互联端口
portlink-type trunk
porttrunk allow-pass vlan 2 to 4094
interface GigabitEthernet1/0/22 /*此口为93_B与5328的互联端口
portlink-type trunk
porttrunk allow-pass vlan 2 to 4094
---------------------------------------------
5328
observe-port 1 interface GigabitEthernet0/0/24vlan 77 /*创建观察口,并打上VLAN ID
interface GigabitEthernet0/0/21 /*此口为93_B与5328的互联端口
portlink-type trunk
porttrunk allow-pass vlan 77 222
ntdpenable
ndpenable
bpduenable
port-mirroring to observe-port 1 both
interface GigabitEthernet0/0/24 /*此端口为抓包口
portlink-type access
portdefault vlan 77
ntdpenable
ndpenable
bpduenable