Command Line Interface Reference Guide > The Configuration Menu > /cfg/pmirr/monport Port-Mirroring Menu
/cfg/pmirr/monport
Port-Mirroring Menu
 
[Port 1 Menu]
add - Add "Mirrored" port and VLANs
rem - Rem "Mirrored" port and VLANs
cur - Display current Port-based Port Mirroring configuration
 
Port-Based Port-Mirroring Menu Options (/cfg/pmirr/monport) 
Command Syntax and Usage
add <mirrored port (port to mirror from) direction (in, out, or both) vlan index or Carriage Return for all vlans>
 
Adds the port to be mirrored, including the direction. You need 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 mirrored 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.
VLAN-based port mirroring lets you monitor traffic based on VLANs associated with a port. You can add specific VLANs to a be monitored even if there are multiple VLANs associated with that port. If you do not specify a VLAN, all traffic on that port will be mirrored.
rem <mirrored port (port to mirror from) vlan index or Carriage Return for all vlans>
 
Removes the mirrored port.
cur
 
Displays the current settings of the monitoring port. For example:
>> Port 1# cur
Monitoring port (Mirrored port,direction,vlans)
      1       none