285
Default command level
2: System level
Usage guidelines
The command is not applicable to manual IPsec policies.
If the IPsec policy is not enabled for the IKE peer, the peer cannot take part in the IKE negotiation.
Examples
# Enable the IPsec policy with the name policy1 and sequence number 100.
<Sysname> system-view
[Sysname] ipsec policy policy1 100 isakmp
[Sysname-ipsec-policy-isakmp-policy1-100] policy enable
Related commands
•
ipsec
policy
(system view)
•
ipsec
policy-template
qos pre-classify
Use
qos pre-classify
to enable packet information pre-extraction.
Use
undo
qos pre-classify
to restore the default.
Syntax
qos pre-classify
undo
qos pre-classify
Default
Packet information pre-extraction is disabled.
Views
IPsec policy view, IPsec policy template view
Default command level
2: System level
Usage guidelines
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.
Examples
# Enable packet information pre-extraction.
<Sysname> system-view
[Sysname] ipsec policy policy1 100 manual
[Sysname-ipsec-policy-manual-policy1-100] qos pre-classify
Related commands
•
ipsec policy (system view)
•
ipsec
policy-template