set port mirroring
Defaults
None.
Mode
Switch command, read‐only.
Example
This example shows how to display port mirroring information. In this case,
as a source port and
D2(su)->show port mirroring
Port Mirroring
==============
Source Port = ge.1.4
Target Port = ge.1.11
Frames Mirrored = Rx and Tx
Port Mirroring status enabled.
set port mirroring
Use this command to create a new mirroring relationship or to enable or disable an existing
mirroring relationship between two ports.
Syntax
set port mirroring {create | disable | enable} source destination}
Parameters
create | disable |
enable
source
destination
Defaults
None.
Mode
Switch command, read‐write.
4-32 Port Configuration
ge
.1.11 is a target and mirroring has been enabled between these ports:
Notes: When a port mirror is created, the mirror destination port is removed from VLAN 1's egress
list after a reboot.
"MAC addresses will be learned for packets tagged with the mirror VLAN ID. This will prevent the
ability to snoop traffic across multiple hops.
Creates, disables or enables mirroring settings on the specified ports.
Specifies the source port designation. This is the port on which the traffic
will be monitored. For a detailed description of possible port‐string values,
refer to "Port String Syntax Used in the CLI" on page 4‐1.
Specifies the target port designation. This is the port that will duplicate or
"mirror" all the traffic on the monitored port.
For a detailed description of possible port‐string values, refer to "Port
String Syntax Used in the CLI" on page 4‐1.
ge
.1.4 is configured