Specifications
Switching set switch mirror 8-173
Software Release 2.7.3
C613-03098-00 REV A
Related Commands add switch l3filter entry
add switch l3filter match
delete switch l3filter
show switch l3filter
set switch mirror
Syntax SET SWItch MIRRor={NONE|port}
where port is a single switch port number. Port numbers start at 1 and end at m,
where m is the highest numbered Ethernet switch port.
Description This command sets the mirror port for the switch, and removes it from the
default VLAN. If another port was previously set as the mirror port, this
command returns it to the default VLAN as an untagged port. The mirror port
is the one where mirrored traffic is sent. Configure the source of mirror traffic
with the set switch port command on page 8-174.
Port mirroring does not duplicate packets. If one mirrored packet is captured in
different ports, only one copy of the packet is sent to the mirror port.
If a packet is Layer 3 switched and mirrored, then the packet is always
transmitted from the mirror port with a VLAN tag.
The mirror parameter specifies the switch port where mirror traffic is to be
sent. The specified port must belong only to the default VLAN as an untagged
or tagged port. The port cannot be part of a trunk group. If the value none is
specified, no mirror port is defined for the switch and mirroring is disabled.
The mirror port cannot be added to any VLAN.
Example To set the mirror port to port 12, use the command:
set switch mirror=12
Related Commands disable switch mirror
enable switch mirror
set switch port
show switch
show switch port