Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Ratgeber Für Administratoren
Tools
446
Managed Switches
You must configure the ports that are connected to the destination switch with tagging, with
the VLAN ID as the RSPAN VLAN. You must also configure the ports on the intermediate
switches that are connected to the source switch and destination switch with the RSPAN
VLAN.
the VLAN ID as the RSPAN VLAN. You must also configure the ports on the intermediate
switches that are connected to the source switch and destination switch with the RSPAN
VLAN.
Only one RSPAN VLAN is supported.
On the source switch, the traffic that is received on and transmitted from source port (1/0/1) is
tagged with the RSPAN VLAN and transmitted on the configured reflector port. The reflector
port (1/0/2) is the physical interface that carries the mirrored traffic to the destination switch.
tagged with the RSPAN VLAN and transmitted on the configured reflector port. The reflector
port (1/0/2) is the physical interface that carries the mirrored traffic to the destination switch.
The intermediate switches forward the incoming tagged traffic to the destination switch.
Enable RSPAN VLAN egress tagging on the ports of the intermediate switches that are
connected to the destination switch.
Enable RSPAN VLAN egress tagging on the ports of the intermediate switches that are
connected to the destination switch.
The destination switch accepts all the packets that are tagged with the RSPAN VLAN and
mirrors the packets on the destination port to which you must connect a traffic analyzer.
mirrors the packets on the destination port to which you must connect a traffic analyzer.
The original tag is retained at the destination switch. Mirrored traffic has double tagging: The
inner tag is the original VLAN ID and the outer tag is the RSPAN VLAN ID.
inner tag is the original VLAN ID and the outer tag is the RSPAN VLAN ID.
CLI: Enable RSPAN on a Switch
1.
On the source switch (Switch 1), configure the following settings:
•
Source ports (the ports for which the traffic must be mirrored)
•
RSPAN VLAN (the destination for the mirrored traffic)
•
Reflector port (the port that is connected, through the intermediate switches, to the
destination switch)
destination switch)
•
Tx/Rx (both egress and ingress traffic must be mirrored)
(Netgear Switch) #vlan database
(Netgear Switch) (Vlan)#vlan 5
(Netgear Switch) (Vlan)#exit
(Netgear Switch) #config
(Netgear Switch) (Config)#vlan 5
(Netgear Switch) (Config)(Vlan 5)#remote-span
(Netgear Switch) (Config)(Vlan 5)#exit
(Netgear Switch) (Config)#monitor session 1 mode
(Netgear Switch) (Config)#monitor session 1 source interface 1/0/1
(Netgear Switch) (Config)#monitor session 1 destination remote vlan 5 reflector-port
1/0/2
1/0/2
(Netgear Switch) (Config)#exit
(Netgear Switch) #show monitor session 1
Session Admin Probe Src Mirrored Ref. Src Dst Type IP MAC
ID Mode Port VLAN Port Port RVLAN RVLAN ACL ACL
------- ------- ------ ---- -------- ------ ----- ----- ----- ------- -------
1 Enable 1/0/1
1/0/2
5
Rx,Tx