Technical data

BLADEOS 6.3 Command Reference
264
Chapter 4: Configuration Commands BMD00186-B, April 2010
Port-Mirroring Configuration
Table 154 Port-Based Port-Mirroring Configuration Commands
Command Syntax and Usage
port-mirroring monitor-port <port alias or number> mirroring-port
<port alias or number> {in|out|both}
Adds the port to be mirrored. This command also allows you to enter the direction of the
traffic. It is necessary to specify the direction because:
If the source port of the frame matches the mirrored port and the mirrored direction is ingress
or both (ingress and egress), the frame is sent to the monitoring port.
If the destination port of the frame matches the mirrored port and the mirrored direction is
egress or both, the frame is sent to the monitoring port.
Command mode: Global configuration
no port-mirroring monitor-port <port alias or number> mirroring-port
<port alias or number>
Removes the mirrored port.
Command mode: Global configuration
show port-mirroring
Displays the current settings of the monitoring port.
Command mode: All except User EXEC