XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
65-5
Chapter 65 Mirror Configuration
65.1 Introduction to Mirror
Mirror functions include port mirror function, CPU mirror function, flow mirror functio
n.
Port mirror refers to the duplication of data frames sent/received on a port to anoth
er port. The duplicated port is referred to as mirror source port and the duplicating port
is referred to as mirror destination port. A protocol analyzer (such as Sniffer) or a RM
ON monitor will be connected at mirror destination port to monitor and manage the net
work, and diagnose the problems in the network.
CPU mirror function means that the switch exactly copies the data frames received
or sent by the CPU to a port.
Flow mirror function means that the switch exactly copies the data frames received
or by the specified rule of a port to another port. The flow mirror will take effect only
the specified rule is permit.
A chassis switch supports at most 4 mirror destination ports, each boardcard allow
s a source or destination port of a mirror session. At present, each box switch can set
many mirror sessions. There is no limitation on mirror source ports, one port or sever
al ports is allowed. When there are more than one source ports, they can be in the sa
me VLAN or in different VLAN. The source port and destination port can be in different
VLAN.
Notice: box switch can't use CPU's rx mirror and port's tx mirror at the same time.
65.2 Mirror Configuration Task List
1. Specify mirror destination port
2. Specify mirror source port (CPU)
3. Specify flow mirror source
1. Specify mirror destination port
Command
Explanation
Global mode
monitor session <session> destination i
Specifies mirror destination port; the no co