Chapter 13
| Port Mirroring Commands
Local Port Mirroring Commands
– 387 –
Default Setting
◆
No mirror session is defined.
◆
When enabled for an interface, default mirroring is for both received and
transmitted packets.
Command Mode
Interface Configuration (Ethernet, destination port)
Command Usage
◆
You can mirror traffic from any source port to a destination port for real-
time analysis. You can then attach a logic analyzer or RMON probe to the
destination port and study the traffic crossing the source port in a
completely unobtrusive manner.
◆
Set the destination port by specifying an Ethernet interface with the
configuration command, and then use the
port monitor
command
to specify the source of the traffic to mirror. Note that the destination port
cannot be a trunk or trunk member port.
◆
When mirroring traffic from a port, the mirror port and monitor port speeds
should match, otherwise traffic may be dropped from the monitor port.
◆
Spanning Tree BPDU packets are not mirrored to the target port.
◆
You can create multiple mirror sessions, but all sessions must share the
same destination port.
◆
The destination port cannot be a trunk or trunk member port.
Example
The following example configures the switch to mirror all packets from port 6 to
5:
Console(config)#interface ethernet 1/5
Console(config-if)#port monitor ethernet 1/6 both
Console(config-if)#
show port monitor
This command displays mirror information.
Syntax
show port monitor
[
interface
]
interface
-
ethernet
unit
/
port
(source port)
unit
- Unit identifier. (Range: Always 1)
port
- Port number. (Range: 1-52)
Содержание SC30010
Страница 1: ...C 300 Series Gigabit Managed Switch CLI Reference Guide SOFTWARE RELEASE V1 1 10 171 www signamax com ...
Страница 2: ...CLI Reference Guide SC30010 C 300 48 Port Gigabit Managed Switch E122017 KS R01 ...
Страница 482: ...Chapter 19 Class of Service Commands Priority Commands Layer 3 and 4 482 ...
Страница 670: ......
Страница 671: ...E122017 KS R01 ...