beautypg.com

Configuring port mirroring – Accton Technology VS4512DC User Manual

Page 79

background image

Port Configuration

3-49

CLI – Specify any interface, and then enter the threshold. The following disables
broadcast storm control for port 1, and then sets broadcast suppression at 600
packets per second for port 2. This threshold will then apply to all ports with
broadcast storm control enabled.

Configuring Port Mirroring

You can mirror traffic from any source port to a
target port for real-time analysis. You can then
attach a logic analyzer or RMON probe to the
target port and study the traffic crossing the
source port in a completely unobtrusive manner.

Command Usage

• Monitor port speed should match or exceed source port speed, otherwise traffic

may be dropped from the monitor port.

• All mirror sessions have to share the same destination port.
• When mirroring port traffic, the target port must be included in the same VLAN

as the source port.

Command Attributes

Mirror Sessions – Displays a list of current mirror sessions.
Source Unit – The switch containing the mirror source port. This switch does

not support stacking , so this number will always be 1.

Source Port – The port whose traffic will be monitored.
Type – Allows you to select which traffic to mirror to the target port, Rx (receive),

Tx (transmit), or Both.

Target Unit – The switch containing the mirror target port. This switch does not

support stacking , so this number will always be 1.

Target Port – The port that will “duplicate” or “mirror” the traffic on the source

port.

Console(config)#interface ethernet 1/1

4-84

Console(config-if)#no switchport broadcast

4-89

Console(config-if)#exit
Console(config)#interface ethernet 1/2
Console(config-if)#switchport broadcast packet-rate 600

4-89

Console(config-if)#end
Console#show interfaces switchport ethernet 1/2
Information of Eth 1/2
Broadcast threshold: Enabled, 600 packets/second
Lacp status: Disabled
Ingress rate limit: disable,100M bits per second
Egress rate limit: disable,100M bits per second
VLAN membership mode: Hybrid
Ingress rule: Disabled
Acceptable frame type: All frames
Native VLAN: 1
Priority for untagged traffic: 0 Allowed Vlan: 1(u),
Forbidden Vlan:
Console#

Source
port(s)

Single
target
port

This manual is related to the following products: