Port Configuration

3-91

3
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.
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 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 Port – The port that will “duplicate” or “mirror” the traffic on the source port.
Console(config)#interface ethernet 1/1 4-130
Console(config-if)#no switchport broadcast 4-136
Console(config-if)#exit
Console(config)#interface ethernet 1/2
Console(config-if)#switchport broadcast packet-rate 600 4-136
Console(config-if)#end
Console#show interfaces switchport ethernet 1/2 4-140
Information of Eth 1/2
Broadcast threshold: Enabled, 600 packets/second
Lacp status: Disabled
Ingress rate limit: disable,1000M bits per second
Egress rate limit: disable,1000M bits per second
VLAN membership mode: Hybrid
Ingress rule: Disabled
Acceptable frame type: All frames
Native VLAN: 1
Priority for untagged traffic: 0
Gvrp status: Disabled
Allowed Vlan: 1(u),
Forbidden Vlan:
Console#
Source
port(s)
Single
target
port