M
IRROR
P
ORT
C
OMMANDS
4-159
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.
• The destination port is set by specifying an Ethernet interface.
• The mirror port and monitor port speeds should match, otherwise
traffic may be dropped from the monitor port.
• You can create multiple mirror sessions, but all sessions must share
the same destination port. However, you should avoid sending too
much traffic to the destination port from multiple source ports.
Example
The following example configures the switch to mirror all packets from
port 6 to 11.
show port monitor
This command displays mirror information.
Syntax
show port monitor
[
interface
]
interface
-
ethernet
unit
/
port
(source port)
•
unit
- Stack unit. (Always unit 1)
•
port
- Port number. (Range: 1-28)
Default Setting
Shows all sessions.
Command Mode
Privileged Exec
Command Usage
This command displays the currently configured source port,
destination port, and mirror mode (i.e., RX, TX, RX/TX).
Console(config)#interface ethernet 1/11
Console(config-if)#port monitor ethernet 1/6 both
Console(config-if)#
Summary of Contents for 6128L2
Page 2: ......
Page 21: ...CONTENTS xvii Glossary Index ...
Page 22: ...CONTENTS xviii ...
Page 26: ...TABLES xxii ...
Page 40: ...INTRODUCTION 1 10 ...
Page 54: ...INITIAL CONFIGURATION 2 14 ...
Page 193: ...PORT CONFIGURATION 3 139 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Page 257: ...QUALITY OF SERVICE 3 203 Figure 3 90 Configuring Policy Maps ...
Page 313: ...COMMAND GROUPS 4 13 PE Privileged Exec VC VLAN Database Configuration ...
Page 592: ...TROUBLESHOOTING B 4 ...
Page 605: ......