Enterasys g3g124-24 Mode D'Emploi
set port mirroring
4-32 Port Configuration
Example
This example shows how to display port mirroring information. In this case,
ge
.1.4 is configured
as a source port and
ge
.1.11 is a target and mirroring has been enabled between these ports:
G3(su)->show port mirroring
Port Mirroring
==============
Source Port = ge.1.4
Target Port = ge.1.11
Frames Mirrored = Rx and Tx
==============
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.
mirroring relationship between two ports.
Syntax
set port mirroring {create | disable | enable} source destination}
Parameters
Defaults
None.
Mode
Switch command, read‐write.
Usage
Note that LAG ports and their underlying physical ports, as described in “
” on page 4‐33, cannot be mirrored.
Example
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:
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.
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.
create | disable |
enable
enable
Creates, disables or enables mirroring settings on the specified ports.
source
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 “
will be monitored. For a detailed description of possible port‐string values,
refer to “
destination
Specifies the target port designation. This is the port that will duplicate or
“mirror” all the traffic on the monitored port.
“mirror” all the traffic on the monitored port.
For a detailed description of possible port‐string values, refer to “