Configuring Port Mirroring
Defaults
If not specified, both received and transmitted frames will be mirrored.
Mode
Switch command, Read‐Write.
Examples
This example shows how to enable port mirroring of transmitted and received frames with fe.1.4
as the source port and fe.1.11 as the target port:
Matrix(rw)->set port mirroring enable fe.1.4 fe.1.11 both
The following example command sequence creates a VLAN 1 and mirrors all VLAN 1 traffic, both
inbound and outbound:
Matrix(rw)->set vlan interface 1 create
Matrix(rw)->set port mirroring create vlan.0.1 fe.1.1 both
clear port mirroring
Use this command to clear a port mirroring relationship.
Syntax
clear port mirroring {igmp-mcast | source destination}
Parameters
igmp‐mcast
source
destination
Defaults
None.
Mode
Switch command, Read‐Write.
Example
This example shows how to clear port mirroring between source port fe.1.4 and target port fe.1.11:
Matrix(rw)->clear port mirroring fe.1.4 fe.1.11
4-54 Port Configuration
Clears IGMP multicast mirroring.
Specifies the source port 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 4‐2.
Specifies the target port of the mirroring configuration to be cleared.
clear port mirroring