3Com 9100 Switch User Manual


 
Switch 9100 Port-Mirroring
61
Port-Mirroring
Commands
Switch 9100 port-mirroring commands are described in Ta b l e 1 7
.
Switch 9100
Port-Mirroring
Example
The following example selects port 3 as the mirror port, and sends all
traffic coming into or out of the switch on port 1 to the mirror port:
enable mirroring port 3
config mirroring add port 1
The following example sends all traffic coming into or out of the switch
on port 1 and the VLAN
default
to the mirror port:
config mirroring add port 1 vlan default
Table 17
Switch 9100 Port-Mirroring Configuration Commands
Command Description
enable mirroring to <port>
Dedicates a port to be the mirror output port.
config mirroring add [mac
<mac_address> | vlan <name> |
port <port> | vlan <name> port
<port>]
Adds a single mirroring filter definition. Up to eight
mirroring definitions can be added. You can mirror
traffic from a MAC address, a VLAN, a physical port, or
a specific VLAN/port combination.
config mirroring delete [mac
<mac_address> | vlan <name> |
port <port> | vlan <name> port
<port> | all}
Deletes a particular mirroring filter definition, or all
mirroring filter definitions.
disable mirroring
Disables port-mirroring.
show mirroring
Displays the port-mirroring configuration.