R3303-HP HSR6800 Routers ACL and QoS Configuration Guide
69
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:
Ste
p
Command Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
• interface tunnel interface-number
• interface rpr interface-number
• interface route-aggregation { interface-number
| interface-number.subnumber }
• interface hdlc-bundle bundle-id
Use any of the commands.
Support for interface types
depends on your device
model.
3. Enable packet
information
pre-extraction.
qos pre-classify
By default, packet
information pre-extraction
is disabled.
For more information about tunnel interfaces, see Layer 3—IP Services Configuration Guide.
For more information about RPR logical interfaces, see High Availability Configuration Guide.
For more information about Layer 3 aggregate interfaces, see Layer 2—LAN Switching Configuration
Guide.
For more information about HDLC link bundle interfaces, see Layer 2—WAN Configuration Guide.
Configuration example
Network requirements
Enable packet information pre-extraction on a tunnel interface.
Configuration procedure
# Enable packet information pre-extraction on tunnel interface Tunnel 0.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] qos pre-classify