User guide

4-12 E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
C
ONFIGURING
B
LACK
D
IAMOND
AND
A
LPINE
S
WITCH
S
LOTS
AND
P
ORTS
Up to eight mirroring filters and one monitor port can be configured. Once a port is
specified as a monitor port, it cannot be used for any other function.
Frames that contain errors are not mirrored.
On switches that do not support the i chipset, mirrored frames that are
transmitted from the switch do not contain 802.1Q VLAN tagging information.
P
ORT
-M
IRRORING
C
OMMANDS
BlackDiamond and Alpine switch port-mirroring commands are described in Tabl e 4 -5 .
B
LACK
D
IAMOND
S
WITCH
P
ORT
-M
IRRORING
E
XAMPLE
The following example selects port 3 on slot 7 as the mirror port, and sends all traffic
coming into or out of the BlackDiamond switch on slot 7, port 1 to the mirror port:
enable mirroring port 7:3
config mirroring add port 7:1
The following example sends all traffic coming into or out of the system on slot 8, port 1
and the VLAN default to the mirror port:
enable mirroring port 8:4
config mirroring add port 8:1 vlan default
Table 4- 5: BlackDiamond and Alpine Switch Port-Mirroring Configuration Commands
Command Description
config mirroring add [vlan <name> | port
<port> | vlan <name> port <portlist>]
Adds a single mirroring filter definition. Up to eight
mirroring definitions can be added. You can mirror
traffic from a VLAN, a physical port, or a specific
VLAN/port combination.
config mirroring delete [vlan <name> | port
<slot:port> | vlan <name> port <portlist> |
all}
Deletes a particular mirroring filter definition, or all
mirroring filter definitions.
disable mirroring Disables port-mirroring.
enable mirroring to <port> Dedicates a port to be the mirror output port.
show mirroring Displays the port-mirroring configuration.