64
Configuration procedure
To configure QoS tokens:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
Applicable to only serial interfaces.
3.
Specify the number of
QoS tokens.
qos qmtoken
token-number
By default, the QoS token feature is disabled.
4.
Shut down the
interface.
shutdown
Re-enable the interface by using the
shutdown
command and then the
undo
shutdown
command to make the QoS token
feature take effect.
5.
Bring up the interface.
undo shutdown
N/A
QoS token configuration example
Network requirements
Specify the number of QoS tokens on interface Serial 1/1/1.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface serial 1/1/1
# Set the number of QoS tokens to 1, and re-enable the interface to make the configuration take
effect.
[Sysname-Serial1/1/1] qos qmtoken 1
[Sysname-Serial1/1/1] shutdown
[Sysname-Serial1/1/1] undo shutdown
Configuring packet information pre-extraction
On a logical interface, such as a tunnel, RPR logical, Layer 3 aggregate, or HDLC link bundle
interface, if the interface has processed the incoming IP packets, for example, if the tunnel interface
has used GRE to encapsulate packets, the GRE-encapsulated packets enter the QoS module for
processing. As a result, the QoS module cannot get the IP information of the original packets.
To process the original IP packets with QoS on the physical interface for a logical interface, configure
packet information pre-extraction on the logical interface.
Configuration procedure
To configure packet information pre-extraction:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A