ZXA10 C300 Configuration Manual (CLI)
Context
When the vport trusts
, the
in packets is modified according to the mapping
relation in the profile after the egress DSCP remarking profile is configured.
Steps
1.
In global configuration mode, configure the DSCP-to-CoS remarking profile.
ZXAN(config)#qos dscp-to-cos-profile test 12 to 3
2.
In ONU interface configuration mode, apply the DSCP-to-CoS remarking profile.
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#qos egress-cos dscp-remark test vport 1
ZXAN(config-if)#qos trust dscp vport 1
3.
(Optional) Query the QoS configuration on the interface.
ZXAN(config-if)#show qos interface gpon-onu_1/5/1:1
qos trust dscp vport 1
qos egress-cos dscp-remark TEST vport 1
– End of Steps –
7.3.8 Configuring CoS Filtering
When CoS filtering is configured on the ONU virtual port (vport), only those packets are
forwarded whose CoS is the same as the default CoS of the vport.
Steps
1.
In ONU interface configuration mode, configure the default
.
ZXAN(config)#interface gpon-onu_1/5/1:1
ZXAN(config-if)#qos cos default-cos 5 vport 1
ZXAN(config-if)#qos cos-filter enable vport 1
2.
(Optional) Query the QoS configuration on the interface.
ZXAN(config-if)#show qos interface gpon-onu_1/5/1:1
qos cos-filter enable vport 1
qos cos default-cos 5 vport 1
– End of Steps –
7.3.9 Configuring Queue Scheduling
Using the queue block profile, you can implement queue scheduling on the ONU virtual
port (vport).
Steps
1.
In global configuration mode, configure the queue block profile.
ZXAN(config)#qos queue-block-profile test queue0 2 12 queue1 3 12
7-12
SJ-20130520164529-007|2013-06-30 (R1.0)
ZTE Proprietary and Confidential