BLADE OS™ ISCLI Reference HP GbE2c L2/L3 Ethernet Blade Switch Version 5.1 Advanced Functionality Software

BLADE OS 5.1 ISCLI Reference
236
Chapter 4: Configuration Commands BMD00115, August 2009
Port-Mirroring Configuration
Table 131 Port-Based Port-Mirroring Configuration Commands
Command Syntax and Usage
port-mirroring monitor-port <port number> mirroring-port <port
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 number> mirroring-port <port
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