Figure 2-7 Traffic Mirroring Configuration Example - Zte ZXR10 5900E Series Configuration Manual

Easy-maintenance mpls routing switch guide for qos
Hide thumbs Also See for ZXR10 5900E Series:
Table of Contents

Advertisement

ZXR10 5900E Series Configuration Guide (QoS)

Figure 2-7 Traffic Mirroring Configuration Example

Configuration Flow
1. Configure an ACL for traffic classification. According to the current requirement,
the traffic classification is done on the basis of the destination IP address, so the
ipv4-access-list is used. Both the source IP address and the destination IP address
can be configured.
2. Apply the ACL rule to the ingress gei-0/1/1/1 and the egress gei-0/1/1/10 on S1.
3. Configure traffic mirroring, and mirror the packet to the gei-0/1/1/2 port.
Configuration Commands
Configuration on the S1:
/*Configuring ACL rule*/
ZXR10(config)#ipv4-access-list mirror1
ZXR10(config-ipv4-acl)#rule 10 permit icmp 192.168.101.1 0.0.0.0
192.168.210.1 0.0.0.0
ZXR10(config-ipv4-acl)#rule 20 permit ip any any
ZXR10(config-ipv4-acl)#exit
/*Bingding the interface connected to PC-A*/
ZXR10(config)#ipv4-access-group interface gei-0/1/1/1 ingress mirror1
/*Configuring Traffic Mirroring*/
ZXR10(config)#pm-qos
ZXR10(config-pm-qos)#traffic-mirror in ipv4-access-list mirror1 rule-id 10
interface gei-0/1/1/2
ZXR10(config-pm-qos)#exit
ZXR10(config)#ipv4-access-group interface gei-0/1/1/10 egress mirror1
Configuration Verification
Checking QoS configuration results.
SJ-20150114102049-008|2015-01-15 (R1.0)
2-24
ZTE Proprietary and Confidential

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents