clear port mirroring
Enterasys C3 Configuration Guide 11-41
Usage
LAG ports, as described in “Link Aggregation Control Protocol (LACP)” on page 11-44, can be
mirror source ports. However, if a LAG port is configured as the source port, no other ports can be
added as source ports for that mirror.
Examples
This example shows how to create and enable port mirroring with ge.1.4 as the source port, and
ge.1.11 as the target port:
C3(su)->set port mirroring create ge.1.4 ge.1.11
This example enables a mirror that was previously disabled.
C3(su)->set port mirroring enable ge.1.4 ge.1.11
clear port mirroring
Use this command to clear a port mirroring relationship.
Syntax
clear port mirroring source destination
Parameters
Defaults
None.
Mode
Switch command, read-write.
Example
This example shows how to clear a port mirroring relationship between source port ge.1.4 and
target port ge.1.11:
C3(su)->clear port mirroring ge.1.4 ge.1.11
set mirror vlan
Assigns a VLAN to be reserved for mirroring. If a mirrored VLAN is created, all mirrored traffic
will egress VLAN tagged. All traffic on the mirror VLAN will be flooded.
Syntax
set mirror vlan vlan-id
source Specifies the source ports (up to 8 ports) of the mirroring configuration to
be cleared. For a detailed description of possible port-string values, refer to
“Port String Syntax Used in the CLI” on page 11-1.
destination Specifies the target port of the mirroring configuration to be cleared.