Requirements: Copy the packets of the mirror port (source port) to the observation port (destination port) so that the complete packets can be obtained for network analysis. Topology: Configuration steps: Hostname> enable Hostname# configure terminal Hostname(config)# monitor session 1 source int gigabitEthernet0/1 Hostname(config)# monitor session 1 destination int gigabit Ethernet 0/3 Topology: Configurationsteps: Source device: switchA# configure terminal switchA(config)# vlan 100 switchA(config-vlan)# remote-span --->set avlan for RSPAN switchA(config-vlan)# exit switchA(config)# monitor session 3remote-source --->setthis device as source device switchA(config)# monitor session 3 source interfacegigabitethernet 0/1 both ---->monitorboth input & output traffic from G0/1 switchA(config)# monitor session 3 destinationremote vlan 100 interface gigabitethernet 0/3 ---->send out the traffic copy from G0/3 Destination device: switchB# configure switchB(config)# interface gigabitethernet 0/1 Switch C(config-if)# switchport mode trunk Switch C(config-if)#exi switchB(config)# vlan 100 switchB(config-vlan)# remote-span --->set avlan for RSPAN switchB(config-vlan)# exit switchB(config)# monitor session 3remote-destination --->set thisdevice as destination device switchB(config)# monitor session 3 destination remote vlan 100 interface gigabitethernet 0/2 ---->received the traffic copy from G0/2 Topology: Configurationsteps: Source device(Switch A): Switch A# configure terminal Switch A(config)# vlan 100 Switch A(config-vlan)# remote-span --->set a vlan for RSPAN Switch A(config-vlan)# exit Switch A(config)# monitor session 3remote-source --->set this device as source device Switch A(config)# monitor session 3 sourceinterface gigabitethernet 0/1 both ---->monitorboth input & output traffic from G0/1 Switch A(config)# monitor session 3 destinationremote vlan 100 interface gigabitethernet 0/3 ---->send out the traffic copy from G0/3 Middle device(Switch B) Switch B# configure Switch B(config)# vlan 100 Switch B(config-vlan)# remote-span --->set a vlanfor RSPAN Switch B(config-vlan)# exit Switch B(config)# interface gigabitethernet 0/1 Switch B(config-if)# switchport mode trunk Switch B(config-vlan)# exit Switch B(config)# interface gigabitethernet 0/2 Switch B(config-if)# switchport mode trunk Destination device(Switch C): Switch C# configure Switch C(config)# vlan 100 Switch C(config-vlan)# remote-span ---set a vlan for RSPAN Switch C(config-vlan)# exit Switch C(config)# monitor session 3remote-destination --->set thisdevice as destination device Switch C(config)# monitor session 3 destinationremote vlan 100 interface gigabitethernet 0/2 ---->receivedthe traffic copy from G0/2 Switch C(config)# interface gigabitethernet 0/1 Switch C(config-if)# switchport mode trunk Verification: Command: show monitor session 3 |
This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.
More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.
©2000-2023 Ruijie Networks Co,Ltd