qos pre-classify

Syntax

qos pre-classify

undo qos pre-classify

View

IPsec policy view

Default level

2: System level

Parameters

None

Description

Use the qos pre-classify command to enable packet information pre-extraction.

Use the undo qos pre-classify command to restore the default.

By default, packet information pre-extraction is disabled.

With the packet information pre-extraction feature enabled, QoS classifies a packet based on the header of the original IP packet—the header of the IP packet that has not been encapsulated by IPsec.

Related commands: ipsec policy (system view).

Examples

# Enable packet information pre-extraction.

<Sysname> system-view
[Sysname] ipsec policy policy1 100 isakmp
[Sysname-ipsec-policy-isakmp-policy1-100] qos pre-classify