AT-GS900M Series CLI Reference
Section III: Layer 2 Switching 255
SET SWITCH MIRROR
Syntax
set switch mirror=
port_number
|none
Parameters
port_number
Specifies a port as the mirror port.
none
Cancel the mirror port and disables port mirroring.
Description
Use this command to specify a port as the mirror port or disable port
mirroring. To specify a source port and target traffic, use the SET SWITCH
PORT command.
Here are guidelines for port mirroring:
The switch has only one mirror port.
The following ports cannot be the mirror port:
– Ports that belong to other than default VLAN
– Ports that Port Security is enabled on
– Authenticator and supplicant ports for Authentication
– Trunk ports
– Ports belong to other than default VLAN
The mirror port does not function as a switch port even when Port
Mirroring is disabled.
STP cannot be enabled on the mirror port.
Confirmation Command
“SHOW SWITCH MIRROR” on page 271
Examples
The following command specifies port 1 as the mirror port:
Manager > set switch mirror=1