How Can Multiple Observing Ports Be Configured During Port Mirroring?

Issue Description

The networking is as follows.

QQ图片20170724155417

Alarm Information

None

Handling Process

The following provides a configuration example:
Reserve VLAN 3500.
#
vlan batch 3 10 20 100 300 to 301 3000 to 3002 3500 4000
#
Add an observing port to VLAN 3500.
#
observe-port 1 interface GigabitEthernet0/0/21 vlan 3500
#
Configure three mirrored ports.
#
interface GigabitEthernet0/0/3
port-mirroring to observe-port 1 both
#
interface GigabitEthernet0/0/4
port-mirroring to observe-port 1 both
#
interface GigabitEthernet0/0/5
port-mirroring to observe-port 1 both
#
Configure three observing ports.
#
interface GigabitEthernet0/0/11
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 3500
#
interface GigabitEthernet0/0/12
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 3500
#
interface GigabitEthernet0/0/13
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 3500
#
Configure the loopback interface.
#
interface GigabitEthernet0/0/21
description neibuhuanhui
loopback internal
mac-address learning disable
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 3500
stp disable

Root Cause

None

Suggestions

After packets on all mirrored ports are copied to an observing port, internal loopback is performed on the observing port. Then this observing port advertises the packets to other observing ports in the local VLAN. Before sending the packets out, the observing ports remove the VLAN tags from the packets.
Remarks: If the switch is configured with the stp enable command globally, you must run the stp disable command on the loopback interface; otherwise, when the loopback interface receives STP packets sent by itself, the interface enters the Discarding state and discards all incoming loopback packets.

Contact information:

Telephone: 852-30623083
Email: Sales@Thunder-link.com
Supports@Thunder-link.com
Website: http://www.thunder-link.com

S5320-32C-HI-24S-AC

S5700-28P-LI-AC

S5720-36C-EI-28S-AC

S6720-30C-EI-24S-AC

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s