Port Configuration
Port Mirroring Commands
4-28 Matrix E1 Series (1G694-13) Configuration Guide
4.2.8.2 set port mirroring
Use this command to designate a single port pair (source and target ports) for mirroring.
set port mirroring port_string port_string {disable | enable}
Syntax Description
Command Defaults
None.
Command Mode
Read-write.
Examples
This example shows how to enable port mirroring with ge.0.4 as the source port and ge.0.11 as the
target port.
This example shows how to disable port mirroring:
port_string Specifies the port designations for source port and target
port. The first port_string specifies the source on which
the traffic will be monitored. The second port_string
specifies the target port that will duplicate or “mirror” all
the traffic on the monitored port. Since only one port
mirror is allowed per device, it is not necessary to specify
port string when disabling mirroring. For a detailed
description of possible port_string values, refer to
Section 4.1.2.
disable | enable Disables or enables mirroring on the specified ports.
Matrix>set port mirroring ge.0.4 ge.0.11 enable
Port ge.0.4 and port ge.0.11 are enabled for Port Mirroring.
Matrix>set port mirroring disable
Port Mirroring disabled.