Configuration Guide RSPAN Configuration
Configuration Examples
Device topology is shown in the following figure:
Figure 2 Typical RSPAN topolgy
Configure the source switch:
Ruijie# configure
Ruijie(config)# vlan 7
Ruijie(config-Vlan)# remote-span
Ruijie(config-Vlan)# exit
Ruijie(config)# interface gigabitEthernet1/3
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# switchport trunk allowed vlan add 7
Ruijie(config-if)# exit
Ruijie(config)# monitor session 2 remote-source
Ruijie(config)# monitor session 2 source interface gigabitEthernet1/2
Ruijie(config)# monitor session 2 destination remote vlan 7 interface
gigabitEthernet 1/3 switch
Configure the middle switch
Ruijie# configure
Ruijie(config)# vlan 7
Ruijie(config-Vlan)# remote-span
Ruijie(config-Vlan)# exit
Ruijie(config)# interface gigabitEthernet1/3
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# switchport trunk allowed vlan add 7