beautypg.com

PLANET WGSW-52040 User Manual

Page 472

background image

60-43

connected to the intermediate switch is not fixed. Datagrams can be broadcasted in the RSPAN VLAN

through the loopback, which is much more flexible.

The normal mode configuration is show as below:

Solution 1:

Source switch:

Interface ethernet 1/1 is the source port for mirroring.

Interface ethernet 1/2 is the destination port which is connected to the intermediate switch.

RSPAN VLAN is 5.

Switch(config)#vlan 5

Switch(Config-Vlan5)#remote-span

Switch(Config-Vlan5)#exit

Switch(config)#interface ethernet 1/2

Switch(Config-If-Ethernet1/2)#switchport mode trunk

Switch(Config-If-Ethernet1/2)#exit

Switch(config)#monitor session 1 source interface ethernet1/1 rx

Switch(config)#monitor session 1 destination interface ethernet1/2

Switch(config)#monitor session 1 remote vlan 5

Intermediate switch:

Interface ethernet1/6 is the source port which is connected to the source switch.

Interface ethernet1/7 is the destination port which is connected to the intermediate switch. The native VLAN of

this port cannot be configured as RSPAN VLAN, or the mirrored 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/6-7

Switch(Config-If-Port-Range)#switchport mode trunk

Switch(Config-If-Port-Range)#exit

Destination switch:

Interface ethernet1/9 is the source port, which is connected to the source switch.

Interface ethernet1/10 is the destination port which is connected to the monitor. This port is required to be

configured as an access port, and belong to the RSPAN VLAN.

RSPAN VLAN is 5.

Switch(config)#vlan 5

Switch(Config-Vlan5)#remote-span