Function Description
QoS refers to quality of service. The settings of different QoS parameters, such as service availability, throughput, time delay, jitter, and loss rate, provide users with high quality services. QoS processes the packets filtered by the ACL according to the requirements. The MA5680T/MA5683T/MA5608T can ensure high QoS for user services based on the traffic rule classification, measurement and scheduling policies.Function
The car-port command is used to configure the port rate
limitation by using a traffic profile. Operators prioritize user packets by CoS
values based on service requirements. To implement committed access rate (CAR)
policies on the packets with CoS values to avoid traffic burst, run this
command.
The undo car-port command is used to delete the
configuration of port rate limitation.
The car-port command is used to configure the port rate
limitation by using a traffic profile. Operators prioritize user packets by CoS
values based on service requirements. To implement committed access rate (CAR)
policies on the packets with CoS values to avoid traffic burst, run this
command.
The undo car-port command is used to delete the configuration of port rate limitation.
The undo car-port command is used to delete the configuration of port rate limitation.
Format
In the ADSL mode, VDSL mode, SHDSL mode, OPF mode, and OPG mode:
car-port portid cos
cos-value inbound { [ traffic-table
index ] ip-traffic-table-index | traffic-table
name ip-traffic-table-name } outbound { [
traffic-table index ] ip-traffic-table-index |
traffic-table name ip-traffic-table-name }
undo car-port portid [ cos
cos-value ]
In the GPON mode:
car-port portid gemport
gemportid cos cos-value
inbound { [ traffic-table index ]
ip-traffic-table-index | traffic-table name
ip-traffic-table-name } outbound { [
traffic-table index ] ip-traffic-table-index |
traffic-table name ip-traffic-table-name }
undo car-port portid gemport
gemportid [ cos cos-value ]
In the ETH OPG mode:
car-port portid vlan { vlanid
[ to end-vlanid ] | vlan-list |
unaware } inbound { [
traffic-table index ] ip-traffic-table-index |
traffic-table name ip-traffic-table-name }
outbound { [ traffic-table index ]
ip-traffic-table-index | traffic-table name
ip-traffic-table-name }
undo car-port portid vlan {
vlanid [ to end-vlanid ] | vlan-list
| unaware }
In the ADSL mode, VDSL mode, SHDSL mode, OPF mode, and OPG mode:
car-port portid cos cos-value inbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name } outbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name }
undo car-port portid [ cos cos-value ]
In the GPON mode:
car-port portid gemport gemportid cos cos-value inbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name } outbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name }
undo car-port portid gemport gemportid [ cos cos-value ]
In the ETH OPG mode:
car-port portid vlan { vlanid [ to end-vlanid ] | vlan-list | unaware } inbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name } outbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name }
undo car-port portid vlan { vlanid [ to end-vlanid ] | vlan-list | unaware }
car-port portid cos cos-value inbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name } outbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name }
undo car-port portid [ cos cos-value ]
In the GPON mode:
car-port portid gemport gemportid cos cos-value inbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name } outbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name }
undo car-port portid gemport gemportid [ cos cos-value ]
In the ETH OPG mode:
car-port portid vlan { vlanid [ to end-vlanid ] | vlan-list | unaware } inbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name } outbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name }
undo car-port portid vlan { vlanid [ to end-vlanid ] | vlan-list | unaware }
Parameters
Parameter
Description
Value
portid
Indicates the ID of the port on which the CAR policies are
implemented.
Please see Differences
Between Shelves.
gemport gemportid
GEM port number. GEM ports of each PON port are numbered
in a centralized way. GEM ports 0-127 are reserved for the private use of OMCI
and GEM ports 4000-4095 serve as channels for special use.
Numeral type. Range: 128-3999.
cos cos-value
Indicates the 802.1p priority in the specified packets. After setting this
parameter, specify the inbound or outbound
parameter to further bind the packets with CoS values to the traffic
profile.
Numeral type. Range: 0-7.
vlan vlanid
Indicates the VLAN ID, which uniquely identifies a VLAN. You can specify this
parameter to implement CAR policies for user-specific packets or
service-specific packets on a port to achieve more intensive QoS control.
NOTE:
Only the SPUA, OPGE, SPUC board allows you to limit the rate
of the packets in a specified VLAN on the port.
Numeral type. Range: 1-4093.
to end-vlanid
This parameter is used with vlanid to specify the VLAN
range.
Numeral type. Range: 1-4093.
end-vlanid must be larger than or equal to
vlanid
vlan-list
Indicates the VLAN list. To configure or cancel the VLAN attributes in
batches, use this parameter. For example, VLAN list "2,4-6,10" indicates VLANs
2, 4, 5, 6, and 10.
Character string type, a string of 1-256 characters.
unaware
Indicates that VLAN is not specified. To not configure VLAN values during CAR
port configurations, use this parameter.
-
inbound
-
outbound
-
traffic-table { index
ip-traffic-table-index | name
ip-traffic-table-name }
Indicates the traffic profile. You can specify this parameter
either by profile index or by profile name to bind a traffic profile to the
packets with the CoS value specified by cos cos-value:
- index ip-traffic-table-index: Indicates the index
of the traffic profile.
- name ip-traffic-table-name: Indicates the name of
the traffic profile.
You can run the traffic table
ip command to create a traffic profile.
indexip-traffic-table-index
Numeral type. Range: 0-1023.
name ip-traffic-table-name
Character string type, a string of 1-32 characters.
The 92 characters allowed by the system are as follows:
- English letters: case sensitive
- Numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9
- ! # $ % & ' ( ) * + , - . / : ; < = > @ [ \ ] ^ _ ` { | }
~
Parameter | Description | Value |
---|---|---|
portid | Indicates the ID of the port on which the CAR policies are implemented. | Please see Differences Between Shelves. |
gemport gemportid | GEM port number. GEM ports of each PON port are numbered in a centralized way. GEM ports 0-127 are reserved for the private use of OMCI and GEM ports 4000-4095 serve as channels for special use. | Numeral type. Range: 128-3999. |
cos cos-value | Indicates the 802.1p priority in the specified packets. After setting this parameter, specify the inbound or outbound parameter to further bind the packets with CoS values to the traffic profile. | Numeral type. Range: 0-7. |
vlan vlanid |
Indicates the VLAN ID, which uniquely identifies a VLAN. You can specify this
parameter to implement CAR policies for user-specific packets or
service-specific packets on a port to achieve more intensive QoS control.
NOTE:
Only the SPUA, OPGE, SPUC board allows you to limit the rate
of the packets in a specified VLAN on the port.
|
Numeral type. Range: 1-4093. |
to end-vlanid | This parameter is used with vlanid to specify the VLAN range. |
Numeral type. Range: 1-4093. end-vlanid must be larger than or equal to vlanid |
vlan-list | Indicates the VLAN list. To configure or cancel the VLAN attributes in batches, use this parameter. For example, VLAN list "2,4-6,10" indicates VLANs 2, 4, 5, 6, and 10. | Character string type, a string of 1-256 characters. |
unaware | Indicates that VLAN is not specified. To not configure VLAN values during CAR port configurations, use this parameter. | - |
inbound | - | |
outbound | - | |
traffic-table { index ip-traffic-table-index | name ip-traffic-table-name } |
Indicates the traffic profile. You can specify this parameter
either by profile index or by profile name to bind a traffic profile to the
packets with the CoS value specified by cos cos-value:
You can run the traffic table
ip command to create a traffic profile.
|
indexip-traffic-table-index Numeral type. Range: 0-1023. name ip-traffic-table-name Character string type, a string of 1-32 characters. The 92 characters allowed by the system are as follows:
|
Modes
Level
Usage Guidelines
- Run the config command to enter
the global config mode, and then run the interface adsl command to enter the ADSL
mode.
- Run the config command to enter
the global config mode, and then run the interface shl command to enter the SHDSL
mode.
- Run the config command to enter
the global config mode, and then run the interface vdsl command to enter the VDSL
mode.
- Run the config command to enter
the global config mode, and then run the interface opf command to enter the OPF
mode.
- Run the config command to enter
the global config mode, and then run the interface opg command to enter the OPG
mode.
- Run the config command to enter
the global config mode, and then run the interface eth command to enter the ETH
mode.
- Run the config command to enter
the global config mode, and then run the interface gpon command to enter the GPON
mode.
- Before setting the rate limitation on the packet with a specified priority
on the port, run the car-mode
command to set the rate limitation to be based on port and priority, and then
run the traffic table ip
command to create the traffic profile to be referenced. When you need to limit
the rate of the packets in a specified VLAN on the port, you do not need to set
the rate limitation mode because such a case is irrelevant to the rate
limitation mode.
- The following table lists CAR specifications and granularities
for CoS packets on different boards.
NOTE:
The value of a CAR specification indicates the number of rules that can be
configured by running the car-port command.
Board types
Specifications for CAR
Granularities for CAR
SCUN/SCUH control board
5120
-
Other control board
1024
-
GPON board
1024
The rate is limited based on GEM port+CoS and all rates configured for each
GEM port only occupies one specification.
Other board
It is limited by the specification of control board.
The rate is limited based on port+CoS and all rates configured for each port
only occupies one specification.
- Run the config command to enter the global config mode, and then run the interface adsl command to enter the ADSL mode.
- Run the config command to enter the global config mode, and then run the interface shl command to enter the SHDSL mode.
- Run the config command to enter the global config mode, and then run the interface vdsl command to enter the VDSL mode.
- Run the config command to enter the global config mode, and then run the interface opf command to enter the OPF mode.
- Run the config command to enter the global config mode, and then run the interface opg command to enter the OPG mode.
- Run the config command to enter the global config mode, and then run the interface eth command to enter the ETH mode.
- Run the config command to enter the global config mode, and then run the interface gpon command to enter the GPON mode.
- Before setting the rate limitation on the packet with a specified priority on the port, run the car-mode command to set the rate limitation to be based on port and priority, and then run the traffic table ip command to create the traffic profile to be referenced. When you need to limit the rate of the packets in a specified VLAN on the port, you do not need to set the rate limitation mode because such a case is irrelevant to the rate limitation mode.
- The following table lists CAR specifications and granularities
for CoS packets on different boards.
NOTE:The value of a CAR specification indicates the number of rules that can be configured by running the car-port command.
Board types Specifications for CAR Granularities for CAR SCUN/SCUH control board 5120 - Other control board 1024 - GPON board 1024 The rate is limited based on GEM port+CoS and all rates configured for each GEM port only occupies one specification. Other board It is limited by the specification of control board. The rate is limited based on port+CoS and all rates configured for each port only occupies one specification.
Example
To limit the rate of the packet with priority 5 on port 0/3/0 through traffic profile 5, do as follows:
huawei(config-if-gpon-0/3)#car-port
{ portid<U><0,7> }:0
{ gemport<K> }:gemport
{ gemportid<U><128,3999> }:128
{ cos-group-table<K>|cos-group<K>|cos<K> }:cos
{ cos-value<U><0,7> }:5
{ inbound<K> }:inbound
{ ip-traffic-table-index<U><0,1023>|traffic-table<K> }:5
{ outbound<K> }:outbound
{ ip-traffic-table-index<U><0,1023>|traffic-table<K> }:5
Command:
car-port 0 gemport 128 cos 5 inbound 5 outbound 5
To cancel rate limitation on the packets of GEM port 128 on GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#undo car-port
{ portid<U><0,7> }:0
{ gemport<K> }:gemport
{ gemportid<U><128,3999> }:128
{ <cr>|cos-group<K>|cos<K> }:
Command:
undo car-port 0 gemport 128
To limit the rate of the packet with priority 5 on port 0/3/0 through traffic profile 5, do as follows:
huawei(config-if-gpon-0/3)#car-port { portid<U><0,7> }:0 { gemport<K> }:gemport { gemportid<U><128,3999> }:128 { cos-group-table<K>|cos-group<K>|cos<K> }:cos { cos-value<U><0,7> }:5 { inbound<K> }:inbound { ip-traffic-table-index<U><0,1023>|traffic-table<K> }:5 { outbound<K> }:outbound { ip-traffic-table-index<U><0,1023>|traffic-table<K> }:5 Command: car-port 0 gemport 128 cos 5 inbound 5 outbound 5To cancel rate limitation on the packets of GEM port 128 on GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#undo car-port { portid<U><0,7> }:0 { gemport<K> }:gemport { gemportid<U><128,3999> }:128 { <cr>|cos-group<K>|cos<K> }: Command: undo car-port 0 gemport 128
No comments:
Post a Comment