
ZXR10 8900 Series User Manual (Basic Configuration Volume)
Step Command
Function
1
ZXR10(config)#
qos conform-dscp
<
dscp-list
><
dscp-v
alue
><
cos-value
><
drop-priority
>
This configures DSCP priority
mapping.
2
ZXR10(config)#
interface
<
interface-name
>
This accesses L2 configuration
interface.
3
ZXR10(config-if)#
trust-dscp enable
This applies DSCP priority
mapping.
By executing command
trust-dscp disable
, DSCP priority map-
ping can be cancelled.
Example
This example shows how to configure DSCP priority mapping on
interface gei_1/1. Map DSCP value 30 to 20 and set COS value to
0 and drop priority to high.
ZXR10(config)#qos conform-dscp 30 20 0 2
ZXR10(config)#interface gei_1/1
ZXR10(config-if)#trust-dscp enable
Configuring Traffic Mirroring
To configure traffic mirroring, use the following command.
Command
Function
ZXR10(config)#
traffic-mirror in
<
acl-number
>
rule-id
<
rule-no
>{
cpu
|
interface
<
port-name
>}
This configures traffic mirroring
Example
This example describes how to map data traffic with source IP
address 168.2.5.6 on port gei_1/8 to port gei_1/4.
ZXR10(config)#acl basic number 10
ZXR10(config-basic-acl)#rule 1 permit 168.2.5.5
ZXR10(config-basic-acl)#rule 2 permit 168.2.5.6
ZXR10(config-basic-acl)#exit
ZXR10(config)#traffic-mirror in 10 rule-id 2 interface
ZXR10(config)#interface gei_1/8
ZXR10(config-if)#ip access-group 10 in
ZXR10(config-if)#exit
ZXR10(config)#interface gei_1/4
ZXR10(config-if)#monitor session 1 destination
Configuring Traffic Statistics
To configure traffic statistics, use the following command.
Command
Function
ZXR10(config)#
traffic-statistics
<
acl-number
>
rule-id
<
rule-no
>
pkt-type
{
all
|
green
|
red
|
yellow
}
statistics-type
{
byte
|
packet
}
This configures traffic statistics
102
Confidential and Proprietary Information of ZTE CORPORATION