Professional Documents
Culture Documents
QoS Configuration For The Vport Interface
QoS Configuration For The Vport Interface
QoS Configuration For The Vport Interface
Abstract
This procedure describes how to configure a Vport interface of the ONU to trust either CoS priority or DSCP
priority.
Context
■ If a Vport interface trusts a CoS priority, the CoS priority of a packet is marked according to the override>cos-
remark>trust priority sequence based on the CoS priority in the ingress direction.
■ If a Vport interface trusts a DSCP priority, the CoS priority of a packet is marked based on the DSCP-to-CoS
mapping relationship.
Steps
1 In ZXAN(config-if-vport-1/x/x.x)# mode, run the qos trust command to configure a priority that a Vport
interface trusts.
Result
You can use the show qos interface command to display the QoS configurations of the Vport interface.
Example
ZXAN(config)#interface vport-1/2/1.1:1
ZXAN(config-if-vport-1/2/1.1:1)#qos trust cos
127.0.0.1:8890/web/index.html#?pid=Lib20180328102925&pv=R1_0&ts=6_0_2_2&ncall=5405 1/9
20/08/2019 QoS Configuration for the Vport Interface
Abstract
After the default priority is configured, the default CoS priority can be added for untagged packets on a Vport
interface of the ONU.
Context
If a Vport interface trusts a CoS priority, subsequent packets can be processed as follows.
■ If the override function is configured, all CoS priorities of the services on a virtual port are forcibly modified as
the default CoS priority, including those of untagged packets.
■ If the override function is not configured, the default CoS priority is valid for only untagged packets.
Steps
1 In ZXAN(config-if-vport-1/x/x.x:x)# mode, run the qos cos default-cos command to configure the default
CoS priority.
Result
You can use the show qos interface command to display the QoS configurations of the Vport interface.
Example
ZXAN(config)#interface vport-1/2/1.1:1
ZXAN(config-if-vport-1/2/1.1:1)#qos cos default-cos 5 override
Abstract
After a CoS priority remarking template is used, the CoS priority of the packets on a Vport interface of the ONU
can be modified based on the original CoS priority of the packets.
Context
If a Vport interface trusts a CoS priority and the default priority is not configured with the override function, after a
CoS priority remarking template is configured, the service CoS priority is modified according to the mapping
relationship in the template.
Steps
1 In ZXAN(config-if-vport-1/x/x.x:x)# mode, run the qos cos cos-remark command to apply a CoS priority
remarking template.
2 In ZXAN(config-if-vport-1/x/x.x:x)# mode, run the qos trust cos command to configure a CoS priority
that a Vport interface trusts.
Result
You can use the show qos interface command to display the QoS configuration of the Vport interface.
Example
ZXAN(config)#interface vport-1/2/1.1:1
ZXAN(config-if-vport-1/2/1.1:1)#qos cos cos-remark test
127.0.0.1:8890/web/index.html#?pid=Lib20180328102925&pv=R1_0&ts=6_0_2_2&ncall=5405 3/9
20/08/2019 QoS Configuration for the Vport Interface
Abstract
After a DSCP-CoS priority remarking template is used, the CoS priority of the packets on a Vport interface can be
modified based on the DSCP priority of the packets.
Context
If a Vport interface trusts a DSCP priority, after a DSCP priority remarking template is used, the service CoS
priority can be modified according to the mapping relationship in the template.
Steps
1 In ZXAN(config-if-vport-1/x/x.x:x)# mode, run the qos cos dscp-remark command to apply a DSCP
priority remarking template.
2 In ZXAN(config-if-vport-1/x/x.x:x)# mode, run the qos trust dscp command to configure a DSCP priority
that a Vport interface trusts.
Result
You can use the show qos interface command to display the QoS configurations of the Vport interface.
Example
ZXAN(config)#interface vport-1/2/1.1:1
ZXAN(config-if-vport-1/2/1.1:1)#qos cos dscp-remark test
127.0.0.1:8890/web/index.html#?pid=Lib20180328102925&pv=R1_0&ts=6_0_2_2&ncall=5405 4/9
20/08/2019 QoS Configuration for the Vport Interface
Abstract
After a DSCP priority remarking template is configured, the DSCP priority of the packets on a Vport interface of
the ONU can be modified based on the original DSCP priority of the packets.
Context
If a Vport interface trusts a DSCP priority, after a DSCP priority remarking template is configured, the service
DSCP priority can be modified according to the mapping relationship in the template.
Steps
1 In ZXAN(config-if-vport-1/x/x.x:x)# mode, run the qos dscp dscp-remark command to apply a DSCP
priority remarking template.
2 In ZXAN(config-if-vport-1/x/x.x:x)# mode, run the qos trust dscp command to configure a DSCP priority
that a Vport interface trusts.
Result
You can use the show qos interface command to display the QoS configurations of the Vport interface.
Example
ZXAN(config)#interface vport-1/2/1.1:1
ZXAN(config-if-vport-1/2/1.1:1)#qos dscp dscp-remark test
Abstract
After a CoS priority remarking template is configured, the CoS priority of the packets on a Vport interface of the
ONU can be modified in the egress direction based on the original CoS priority of the packets.
Context
If a Vport interface trusts a CoS priority and the default priority is not configured with the override function, after a
CoS priority remarking template is used, the service CoS priority is modified according to the mapping
relationship in the template.
Steps
1 In ZXAN(config-if-vport-1/x/x.x:x)# mode, run the qos egress-cos cos-remark command to apply a CoS
priority remarking template.
2 In ZXAN(config-if-vport-1/x/x.x:x)# mode, run the qos trust cos command to configure a CoS priority
that a Vport interface trusts.
Result
You can use the show qos interface command to display the QoS configurations of the Vport interface.
Example
ZXAN(config)#interface vport-1/2/1.1:1
ZXAN(config-if-vport-1/2/1.1:1)#qos egress-cos cos-remark test
Abstract
127.0.0.1:8890/web/index.html#?pid=Lib20180328102925&pv=R1_0&ts=6_0_2_2&ncall=5405 6/9
20/08/2019 QoS Configuration for the Vport Interface
After a DSCP-CoS priority remarking template is used, the CoS priority of the packets on a Vport interface of the
ONU can be modified in the egress direction based on the DSCP priority of the packets.
Context
If a Vport interface trusts a DSCP priority, after a DSCP priority remarking template in the egress direction is
used, the service CoS priority can be modified according to the mapping relationship in the template.
Steps
2 In ZXAN(config-if-vport-1/x/x.x:x)# mode, run the qos trust dscp command to configure a DSCP priority
that a Vport interface trusts.
Result
You can use the show qos interface command to display the QoS configurations of the Vport interface.
Example
ZXAN(config)#interface vport-1/2/1.1:1
ZXAN(config-if-vport-1/2/1.1:1)#qos egress-cos dscp-remark test
Abstract
This procedure describes how to modify the queue depth of a Vport interface of the ONU after a queue
configuration template is used.
127.0.0.1:8890/web/index.html#?pid=Lib20180328102925&pv=R1_0&ts=6_0_2_2&ncall=5405 7/9
20/08/2019 QoS Configuration for the Vport Interface
Steps
Example
ZXAN(config)#interface vport-1/2/1.1:1
ZXAN(config-if-vport-1/2/1.1:1)#qos queue-conf-profile test
Abstract
After a traffic template is used, traffic shaping is implemented on a Vport interface of the ONU. After the traffic
threshold is reached, follow-up traffic can be delayed through the buffering mechanism.
Steps
Example
ZXAN(config)#interface vport-1/2/1.1:1
ZXAN(config-if-vport-1/2/1.1:1)#qos traffic-shaping test
Abstract
This procedure describes how to configure a traffic policy so that the traffic rate can be restricted on a Vport
interface of the ONU and excessive traffic can be discarded in receiving or sending direction.
Steps
Example
Configure a traffic policy on a Vport interface to restrict the traffic rate in receiving direction.
ZXAN(config)#interface vport-1/2/1.1:1
ZXAN(config-if-vport-1/2/1.1:1)#qos traffic-policy test direction ingress
127.0.0.1:8890/web/index.html#?pid=Lib20180328102925&pv=R1_0&ts=6_0_2_2&ncall=5405 8/9
20/08/2019 QoS Configuration for the Vport Interface
127.0.0.1:8890/web/index.html#?pid=Lib20180328102925&pv=R1_0&ts=6_0_2_2&ncall=5405 9/9