Часть конфига:
Код: Выделить всё
boot host auto-config
vlan 50
name "mirror vlan"
exit
vlan 2
exit
interface gigabitethernet 1/0/2
description "gw to network XX.XX.XX.XX/26"
security-zone realnetwork
ip address XX.XX.XX.XX/26
exit
interface gigabitethernet 1/0/14
mode switchport
security-zone trusted
switchport general pvid 50
switchport general allowed vlan add 50 untagged
port monitor remote
port monitor interface gigabitethernet 1/0/2
exit
port monitor remote vlan 50 rx
port monitor remote vlan 50 tx
gw-main# show interfaces switch-port monitor
Код: Выделить всё
Port monitor mode: network
RSPAN configuration RX: VLAN 50
RSPAN configuration TX: VLAN 50
Source Port Destination Port Type RSPAN
------------ ---------------- ------ --------
gi1/0/2 gi1/0/14 RX,TX Enabled
На интерфейсе смотрю:
Код: Выделить всё
gw-main# monitor gigabitethernet 1/0/14
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel