User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
66-5
Two configuration solutions can be chosen for RSPAN: the first is without reflector
port, and the other is with reflector port. For the first one, only one fixed port can be c
onnected to the intermediate switch. However, no reflector port has to be configured. T
his maximizes the usage of witch ports. For the latter one, the port connected to the in
termediate switch is not fixed. Datagrams can be broadcasted in the RSPAN VLAN thro
ugh the loopback, which is much more flexible.
The normal mode configuration is show as below:
Solution 1:
Source switch:
Interface ethernet 1/0/1 is the source port for mirroring.
Interface ethernet 1/0/2 is the destination port which is connected to the intermediate s
witch.
RSPAN VLAN is 5.
Switch(config)#vlan 5
Switch(Config-Vlan5)#remote-span
Switch(Config-Vlan5)#exit
Switch(config)#interface ethernet 1/0/2
Switch(Config-If-Ethernet1/0/2)#switchport mode trunk
Switch(Config-If-Ethernet1/0/2)#exit
Switch(config)#monitor session 1 source interface ethernet1/0/1 rx
Switch(config)#monitor session 1 destination interface ethernet1/0/2
Switch(config)#monitor session 1 remote vlan 5
Intermediate switch:
Interface ethernet1/0/6 is the source port which is connected to the source switch.
Interface ethernet1/0/7 is the destination port which is connected to the intermediate swi
tch. The native VLAN of this port cannot be configured as RSPAN VLAN, or the mirror
ed data may not be carried by the destination switch.
RSPAN VLAN is 5.
Switch(config)#vlan 5
Switch(Config-Vlan5)#remote-span
Switch(Config-Vlan5)#exit
Switch(config)#interface ethernet 1/0/6-7
Switch(Config-If-Port-Range)#switchport mode trunk
Switch(Config-If-Port-Range)#exit