The qos-profile command applies a QoS profile to traffic on the BAS interface.
The undo qos-profile command cancels the QoS profile that is applied to traffic on the BAS interface.
By default, no QoS profile is applied to to traffic on the BAS interface.
This command is supported only on the NetEngine 8000 F1A.
qos-profile profile-name [ inbound | outbound ] [ identifier { none | option82 | access-line-id | pe-vid | ce-vid | pe-ce-vid | vlan-id } ] [ group group-name ] [ session-limit max-session-number ]
qos-profile profile-name [ inbound | outbound ] vlan vlan-id-begin [ to vlan-id-end ] [ identifier { vlan-id | none | option82 | access-line-id } ] [ group group-name ] [ session-limit max-session-number ]
qos-profile profile-name [ inbound | outbound ] pe-vid pe-vlan-id ce-vid ce-vlan-id-begin [ to ce-vlan-id-end ] [ identifier { pe-vid | ce-vid | pe-ce-vid | none | option82 | access-line-id } ] [ group group-name ] [ session-limit max-session-number ]
qos-profile profile-name [ inbound | outbound ] any-other user-vlan [ identifier { none | option82 | vlan-id | access-line-id } ] [ group group-name ] [ session-limit max-session-number ]
qos-profile profile-name [ inbound | outbound ] any-other qinq [ identifier { none | option82 | pe-vid | ce-vid | pe-ce-vid | access-line-id } ] [ group group-name ] [ session-limit max-session-number ]
undo qos-profile [ inbound | outbound ] [ identifier { vlan-id | pe-vid | ce-vid | pe-ce-vid } ]
undo qos-profile [ inbound | outbound ] vlan vlan-id-begin [ to vlan-id-end ]
undo qos-profile [ inbound | outbound ] pe-vid pe-vlan-id ce-vid ce-vlan-id-begin [ to ce-vlan-id-end ]
undo qos-profile [ inbound | outbound ] any-other { qinq | user-vlan }
Parameter | Description | Value |
---|---|---|
profile-name |
Specifies the name of a QoS profile. |
The value is a string of 1 to 63 characters. |
inbound |
Indicates that the QoS profile is applied to the incoming traffic on interfaces. |
- |
outbound |
Indicates that the QoS profile is applied to the outgoing traffic on interfaces. |
- |
identifier |
Specifies which queue packets enter. When the identifier is not specified, all users share the bandwidth of one SQ. |
- |
none |
Indicates that packets enter the default queue. Indicates that users share the bandwidth of one SQ. |
- |
option82 |
Indicates that packets enter different queues for scheduling according to the Option 82 field. |
- |
access-line-id |
Indicates that residential users are identified based on Dhcpv4 option82/Dhcpv6 option18+37 information. |
- |
pe-vid pe-vlan-id |
Specifies the PE VLAN ID of packets. |
The value is a decimal integer ranging from 1 to 4094. |
pe-vid |
Indicates that packets enter different queues for scheduling according to the VLAN ID of the PE. Packets with the same PE-VID use the bandwidth of one SQ alone. |
- |
ce-vid |
Indicates that packets enter different queues for scheduling according to the VLAN ID of the CE. Packets with the same CE-VID use the bandwidth of one SQ alone. |
- |
ce-vid ce-vlan-id-begin |
Specifies the start CE VLAN ID (the value of the inner tag) of a packet. |
The value is a decimal integer ranging from 1 to 4094. |
pe-ce-vid |
Indicates that packets enter different queues for scheduling according to the PE-CE VLAN ID. Packets with the same PE-CE VLANID use the bandwidth of one SQ alone. |
- |
vlan-id |
Indicates that packets enter different queues for scheduling according to the VLAN ID. Packets with the same VLAN ID use the bandwidth of one SQ alone. |
- |
group group-name |
Specifies the name of a shared group of QoS profile instances. |
The value is a string of 1 to 31 characters. |
session-limit max-session-number |
Specifies the maximum number of sessions for a residential user. |
The value is a decimal integer ranging from 1 to 256. |
vlan vlan-id-begin |
Specifies the start VLAN ID. |
The value is an integer that ranges from 1 to 4094. |
to vlan-id-end |
Specifies the end VLAN ID. |
The value is an integer that ranges from 1 to 4094. The value of vlan-id2 must be greater than that of vlan-id1 . |
to ce-vlan-id-end |
Specifies the end CE VLAN ID of a packet (the value of the inner tag). |
The value is a decimal integer ranging from 1 to 4094. |
any-other |
Any-other. |
- |
user-vlan |
User-vlan. |
- |
qinq |
Qinq. |
- |
To apply a QoS profile to single-tagged VLAN packets from users, you need to specify the VLAN ID in the QoS profile.
To apply a QoS profile to double-tagged VLAN packets from users, you need to specify the pe-vid and ce-vid in the QoS profile. The car and user-queue commands in the QoS profile take effect in the BAS view. Traffic suppression-related commands, however, do not take effect. When pe-vid or ce-vid is used to distinguish homes and session-limit is configured for one home for multiple times, only the latest configuration takes effect. The QoS profile with CAR configured does not apply to Layer 3 sub-interfaces in outbound direction.<HUAWEI> system-view [~HUAWEI] qos-profile p1 [*HUAWEI-qos-profile-p1] commit [~HUAWEI-qos-profile-p1] quit [~HUAWEI] interface GigabitEthernet 0/1/7.1 [*HUAWEI-GigabitEthernet0/1/7.1] commit [~HUAWEI-GigabitEthernet0/1/7.1] user-vlan 1 20 qinq 1 10 [~HUAWEI-GigabitEthernet0/1/7.1-vlan-1-20-QinQ-1-10] bas [~HUAWEI-GigabitEthernet0/1/7.1-bas] access-type layer2-subscriber [*HUAWEI-GigabitEthernet0/1/7.1-bas] commit [~HUAWEI-GigabitEthernet0/1/7.1-bas] qos-profile p1 inbound pe-vid 1 ce-vid 1 to 10 identifier pe-vid
<HUAWEI> system-view [~HUAWEI] qos-profile p1 [*HUAWEI-qos-profile-p1] commit [~HUAWEI-qos-profile-p1] quit [*HUAWEI] interface GigabitEthernet 0/1/7.1 [*HUAWEI-GigabitEthernet0/1/7.1] commit [~HUAWEI-GigabitEthernet0/1/7.1] user-vlan 1 5 [~HUAWEI-GigabitEthernet0/1/7.1-vlan-1-5] bas [~HUAWEI-GigabitEthernet0/1/7.1-bas] access-type layer2-subscriber [*HUAWEI-GigabitEthernet0/1/7.1-bas] commit [~HUAWEI-GigabitEthernet0/1/7.1-bas] qos-profile p1 inbound vlan 1 to 5 identifier vlan-id group g2
<HUAWEI> system-view [~HUAWEI] qos-profile p1 [*HUAWEI-qos-profile-p1] commit [*HUAWEI-qos-profile-p1] quit [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] bas [~HUAWEI-GigabitEthernet0/1/0-bas] access-type layer2-subscriber [*HUAWEI-GigabitEthernet0/1/0-bas] commit [~HUAWEI-GigabitEthernet0/1/0-bas] qos-profile p1 inbound group g1