XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
65-6
nterface <interface-number>
no monitor session <session> destinati
on interface <interface-number>
mmand deletes mirror destination source p
ort.
2. Specify mirror source port
CPU
Command
Explanation
Global mode
monitor session <session> source {inter
face <interface-list> | cpu [slot <slotnu
m> ]} {rx| tx| both}
no monitor session <session> source {i
nterface <interface-list> | cpu [slot <slot
num> ]}
Specifies mirror source port; the no comm
and deletes mirror source port.
3. Specify flow mirror source
65.3 Mirror Examples
1
Example:
The requirement of the configurations is shown as below: to monitor at interface 1 the
data frames sent out by interface 9 and received from interface 7, sent and received b
y CPU, and the data frames received by interface 15 and matched by rule 120(The so
urce IP address is 1.2.3.4 and the destination IP address is 5.6.7.8).
Configuration guidelines:
1. Configure interface 1 to be a mirror destination interface.
2. Configure the interface 7 ingress and interface 9 egress to be mirrored source.
3. Configure the CPU as one of the source.
4. Configure access list 120.
5. Configure access 120 to binding interface 15 ingress.
Command
Explanation
Global mode
monitor session <session> source {interface <int
erface-list>} access-group <num> {rx|tx|both}
no monitor session <session> source {interface
<interface-list>} access-group <num>
Specifies flow mirror source
port and apply rule; the no
command deletes flow mirror
source port.