
mirror
OVERVIEW
Category:
configPrimary context:
Related Commands
Usage: 1) mirror <1-4> [ name NAME-STR ] port PORT-NUM
2) mirror <1-4> [ name NAME-STR ] remote ip SRC-IP-ADDR
SRC-UDP-PORT DST-IP-ADDR
3) mirror <1-4> [ name NAME-STR ] remote ip SRC-IP-ADDR
SRC-UDP-PORT DST-IP-ADDR
4) no mirror <1-4> [ name NAME-STR ]
5) mirror endpoint ip SRC-IP-ADDR SRC-UDP-PORT DST-IP-ADDR
port PORT-NUM
6) no mirror endpoint ip SRC-IP-ADDR SRC-UDP-PORT DST-IP-ADDR
Description: Dene the mirror destinations for diagnostic purposes. The device
ports or VLANs that will be monitored are dened through
the 'monitor' command in either interface or VLAN context.
The network trafc seen by the monitored ports/VLANs is copied to
the mirror destination to which a network analyzer can be attached.
When mirroring multiple ports/VLANs in a busy network,
some frames may not be copied to the monitoring destination.
Parameters: o <1-4> - Mirror destination number
o name NAME-STR - Friendly name to be associated with the
mirror destionation number.
o PORT-NUM - Port that will be acting as the monitoring port. It
cannot be a trunked port. The parameter must be specied,
if the 'no' keyword is not used. Otherwise, it must not be
present.
o SRC-IP-ADDR - source ip address for remote mirroring.
o SRC-UDP-PORT - source UDP port for remote mirroring.
o DST-IP-ADDR - destination ip address for remote mirroring.
Note1: The SRC-IP-ADDR, SRC-UDP-PORT, and DST-IP-ADDR specied on the
source switch must match those on the respective destination switch.
Note2: The SRC-IP-ADDR, SRC-UDP-PORT, and DST-IP-ADDR must not be uses if the
'no' keyword is used unless the 'endpoint' keyword is used.
COMMAND STRUCTURE
■ [no] mirror endpoint -- Remote mirroring destination configuration. (p. 378)
■ ip -- Remote mirroring destination configuration. (IP-ADDR) (p. 378)
■ mirror_session_ip_udp < 1 to 65535 > -- Remote mirroring UDP encapsulation port.
(TCP/UDP-PORT) (p. 379)
■ mirror_session_dest_ip -- Remote mirroring UDP encapsulation destination ip addr.
(IP-ADDR) (p. 379)
■ port -- Remote mirroring destination port. ([ethernet] PORT-NUM) (p. 380)
■ [no] mirror mirror_session_id < 1 to 4 > -- Mirror destination number. (p. 379)
■ name -- Mirroring destination name string. (ASCII-STR) (p. 380)
■ port -- Mirroring destination monitoring port. ([ethernet] PORT-NUM) (p. 380)
■ remote -- Remote mirroring destination configuration. (p. 380)
377© 2009 Hewlett-Packard Development Company, L.P.