Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

How to configure one to many mirror? Reply

GTAC-Daisy

Level 1

How to configure one to many mirror?
3208 1 2021-6-14 18:39:39
Original

NoteOnly 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 SPAN

2. Connect a HUB to the mirror destination port, so packets floods through the HUB

3. 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. Requirements

Core switch copies traffic of G4/1 and G4/2 on both directions to Monitor Server 1 connected to port G4/21 and  Monitor Server 2 connected to port G4/22

II. Network Topology

                                               

III. Configuration Tips

1) Create VLAN 100 as remote-vlan on switch

2) Define G4/1 and G4/2 as source port in monitor session, and both traffic directions are monitored

3) Create a mac-loopback port, assign this mac-loopback port to Remote vlan and define it as destination port in monitor session

4) 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 green

2) 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 Steps

1. Create VLAN 100 as remote-vlan on switch

Ruijie#configure terminal

Ruijie(config)#vlan 100   ------> VLan 100 must be dedicated for mirroring

Ruijie(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 monitored

Ruijie(config)#monitor session 1 remote-source

Ruijie(config)#monitor session 1 source interface gigabitEthernet 4/1 both

Ruijie(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 session

Ruijie(config)#interface gigabitEthernet 4/23

Ruijie(config-if-GigabitEthernet 4/23)#switchport access vlan 100

Ruijie(config-if-GigabitEthernet 4/23)#mac-loopback         ------>Don't configure any other commands or connect cable to this port

Ruijie(config-if-GigabitEthernet 4/23)#end

Ruijie(config)#monitor session 1 destination remote vlan 100 interface gigabitEthernet 4/23 switch

Ruijie# 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 100

Ruijie(config)#interface range gigabitEthernet 4/21-22

Ruijie(config-if-range)#switchport access vlan 100

Ruijie(config-if-range)#end

Ruijie#wr

V. Verification

1. This example shows how to verify status of monitor session

2. This example shows how to display configuration of port G4/23


VI. Script

conf t

vlan 100

remote-span

exit

monitor session 1 remote-source

monitor session 1 source interface gigabitEthernet 4/1 both

monitor session 1 source interface gigabitEthernet 4/2 both

monitor session 1 destination remote vlan 100 interface gigabitEthernet 4/23 switch

interface gigabitEthernet 4/23

switchport access vlan 100

mac-loopback

interface range gigabitEthernet 4/21-22

switchport access vlan 100


0 2021-6-17 09:13:40 View all replies
good!

Releated Posts
Product Model

Share this topic to

Cancel

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