ZXR10 5900/5200 Series User Manual (Basic Configuration Volume)
�
Support monitoring only sent/received data on the mirrored
port.
�
Support cross-equipment port mirroring (RSPAN), that is, mir-
rored port and monitor port can be on different equipment.
Configuring Port Mirroring
Step Command
Function
1
ZXR10(config-gei_1/x)#
monitor session
<
session-number
>
source
[
direction
{
both
|
tx
|
rx
}]
This sets mirror port for
capturing in/out traffic of
monitor port.
2
ZXR10(config-gei_1/x)#
monitor session
<
session-number
>
desination
This sets monitor port.
3
ZXR10(config-gei_1/x)#
monitor session
<
session-number
>
desination
[
rspan-vlanid
<
vlanid
>][
priority
<
priorityid
>]
This sets RSPAN monitor port.
4
ZXR10(config-gei_1/x)#
show monitor session
|<
session-number
>
This displays statistics of port
mirroring.
5
ZXR10(config-gei_1/x)#
no monitor session
This deletes port from port
mirroring.
Port Mirroring Configuration Example
1. This example shows single device port mirroring configuration.
Port gei_1/3 is connected to a computer, data received is on
gei_1/1 and data received/sent is on gei_1/2 are to be moni-
tored. This is shown in
Figure 15
.
38
Confidential and Proprietary Information of ZTE CORPORATION