
C
HAPTER
31
| Port Mirroring Commands
– 709 –
C
OMMAND
M
ODE
Interface Configuration (Ethernet, destination port)
C
OMMAND
U
SAGE
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.
When mirroring traffic from a port, the mirror port and monitor port
speeds should match, otherwise traffic may be dropped from the
monitor port. When mirroring traffic from a VLAN, traffic may also be
dropped under heavy loads.
When VLAN mirroring and port mirroring are both enabled, the target
port can receive a mirrored packet twice; once from the source mirror
port and again from the source mirror VLAN.
When mirroring traffic from a MAC address, ingress traffic with the
specified source address entering any port in the switch, other than the
target port, will be mirrored to the destination 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.
E
XAMPLE
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.
S
YNTAX
show port monitor
[
interface
]
interface
-
ethernet
unit
/
port
(source port)
unit
- Unit identifier. (Range: 1)
port
- Port number. (Range: 1-28)
D
EFAULT
S
ETTING
Shows all sessions.
Содержание DG-FS4528P
Страница 2: ......
Страница 4: ......
Страница 148: ...CHAPTER 5 Simple Network Management Protocol Configuring SNMPv3 Groups 148 ...
Страница 279: ...CHAPTER 8 Interface Configuration Showing Port or Trunk Statistics 279 Figure 130 Showing Port Statistics ...
Страница 289: ...CHAPTER 10 Address Table Settings Changing the Aging Time 289 4 Click Apply Figure 137 Setting the Address Aging Time ...
Страница 389: ...CHAPTER 17 VoIP Traffic Configuration Configuring Telephony OUI 389 ...
Страница 414: ...CHAPTER 18 Multicast Filtering Multicast VLAN Registration 414 Figure 216 Configuring Static MVR Receiver Group Members ...
Страница 515: ...CHAPTER 22 System Management Commands UPnP 515 TTL 20 Console ...
Страница 972: ......
Страница 973: ...DG FS4528P ...