GTAC-Daisy Publish time 2021-6-14 18:39:39

How to configure one to many mirror?

Note:Only S8600E and N18000 series switch support one to many (or many to many) SPAN so far.Tips: For those switches that do not support one to many SPAN, you can apply another fallback method as below:1. Configure the ordinary many to one SPAN2. Connect a HUB to the mirror destination port, so packets floods through the HUB3. Connect your Monitor Server to the HUB.HUB can also be a default setting switch. You must assign ports to the remote-vlan and disable the mac-learning feature (enter "no mac-address-learning" config-interface command) and storm-control feature. I. RequirementsCore switch copies traffic of G4/1 and G4/2 on both directions to Monitor Server 1 connected to port G4/21 andMonitor Server 2 connected to port G4/22 II. Network Topology                                             https://img2.sobot.com/console/eee7ec2e351e4569a4791536fb5f0973/kb/image/4040dba7033d43afaddee1990381b53a.png III. Configuration Tips1) Create VLAN 100 as remote-vlan on switch2) Define G4/1 and G4/2 as source port in monitor session, and both traffic directions are monitored3) Create a mac-loopback port, assign this mac-loopback port to Remote vlan and define it as destination port in monitor session4) Assign ports G4/21 and G4/22 to Remote vlan 100 Note:1) Utilize an unused port as mac-loopback port .You cannot connect cable to this port, even so switch puts link status of mac-loopback port to up status and port LED is green2) Don't configure any other commands to the mac-loopback port and don’t specify “switch" keyword when configuring monitor session (monitor session 1 destination remote vlan 100 interface gigabitEthernet 4/23 no switch keyword) IV. Configuration Steps1. Create VLAN 100 as remote-vlan on switchRuijie#configure terminalRuijie(config)#vlan 100   ------> VLan 100 must be dedicated for mirroringRuijie(config-vlan)#remote-span Ruijie(config-vlan)#exit 2. Define G4/1 and G4/2 as source port in monitor session, and both traffic directions are monitoredRuijie(config)#monitor session 1 remote-sourceRuijie(config)#monitor session 1 source interface gigabitEthernet 4/1 bothRuijie(config)#monitor session 1 source interface gigabitEthernet 4/2 both 3. Configure G4/23 as mac-loopback port, assign this mac-loopback port to Remote vlan and define it as destination port in monitor sessionRuijie(config)#interface gigabitEthernet 4/23Ruijie(config-if-GigabitEthernet 4/23)#switchport access vlan 100Ruijie(config-if-GigabitEthernet 4/23)#mac-loopback         ------>Don't configure any other commands or connect cable to this portRuijie(config-if-GigabitEthernet 4/23)#endRuijie(config)#monitor session 1 destination remote vlan 100 interface gigabitEthernet 4/23 switchRuijie# clear mac-address-table dynamic interface gigabitEthernet 4/23    ------> clear mac-address-table of this port when finish configuring 4. Assign ports G4/21 and G4/22 to Remote vlan 100Ruijie(config)#interface range gigabitEthernet 4/21-22Ruijie(config-if-range)#switchport access vlan 100Ruijie(config-if-range)#endRuijie#wr V. Verification1. This example shows how to verify status of monitor sessionhttps://img2.sobot.com/console/eee7ec2e351e4569a4791536fb5f0973/kb/image/556d7a5adeb94238b51eb1d1b3ee479b.png 2. This example shows how to display configuration of port G4/23https://img2.sobot.com/console/eee7ec2e351e4569a4791536fb5f0973/kb/image/d00041a626bc40498a6ca326b3b09a5a.png
VI. Scriptconf tvlan 100remote-span exitmonitor session 1 remote-sourcemonitor session 1 source interface gigabitEthernet 4/1 bothmonitor session 1 source interface gigabitEthernet 4/2 bothmonitor session 1 destination remote vlan 100 interface gigabitEthernet 4/23 switchinterface gigabitEthernet 4/23switchport access vlan 100mac-loopbackinterface range gigabitEthernet 4/21-22switchport access vlan 100

dongling Publish time 2021-6-17 09:13:40

good!
Pages: [1]
View full version: How to configure one to many mirror?