Figure 5-2 Port Mirroring Configuration Instance - Zte ZXR10 5250 Series Configuration Manual

Gigabit-port intelligent switch
Hide thumbs Also See for ZXR10 5250 Series:
Table of Contents

Advertisement

ZXR10 5250 Series Configuration Guide
Command
zte(cfg)#
show mirror [session <1-3>] (all configuration modes)
show mirror rspan (all configuration modes)
show mirror statistical (all configuration modes)
Port Mirroring Configuration Instance
l
Configuration Description
This instance describes how to configure port mirroring on a switch, and port 2 can
monitor the packets on port 1, see

Figure 5-2 Port Mirroring Configuration Instance

l
Configuration Procedure
1. The following example describes how to set port mirroring in ingress direction.
zte(cfg)#set mirror session 1 add source-port 1 ingress
zte(cfg)#set mirror session 1 add dest-port 2 ingress
zte(cfg)#set mirror statistical sample-interval 100 ingress
/*set the port sample-interval of mirror statistic*/
zte(cfg)#set mirror rspan-tag vlan-id 100 priority 7 ingress
/*set VLAN tag added after port mirroring*/
2. The following example describes how to set port mirroring in egress direction.
zte(cfg)#set mirror add source-port 1 egress
zte(cfg)#set mirror add dest-port 2 egress
zte(cfg)#set mirror statistical sample-interval 100 egress
/*set the port sample-interval of mirror statistic*/
zte(cfg)#set mirror rspan-tag vlan-id 100 priority 7 engress
/*set VLAN tag added after port mirroring*/
l
Configuration Verification
Check port mirroring configuration.
zte(cfg)#show mirror session 1
Session 1:
Ingress mirror information:
SJ-20131111172707-002|2013-11-27 (R1.0)
clear mirror session <1-3>
Figure
5-2.
5-12
ZTE Proprietary and Confidential
Function
Clears the configuration of mirror
in the session .
Displays the configuration
information of mirror session.
Displays the ingress or egress
RSPAN configuration information.
Displays ingress or egress
sample frequency configuration
information.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents