The if-match ipv6 next-header command configures a matching rule for complex traffic classification based on the value of the next IPv6 header.
The undo if-match ipv6 next-header command cancels the configuration.
By default, the matching rule for complex traffic classification based on the value of the next IPv6 header is not configured in traffic classifier view
Parameter | Description | Value |
---|---|---|
header-number |
Specifies the value of the next header, which indicates the type of the header following the basic header. |
The value is an integer ranging from 0 to 255. |
first-next-header |
Indicates that header-number is the value of the first next header of an IPv6 packet. |
- |
Usage Scenario
To perform the traffic policy based on the value of the next IPv6 header, you can run this command to configure a matching rule for complex traffic classification based on the value of the next IPv6 header. Then, you can configure the traffic behavior and traffic policy, and apply the policy to interfaces.
Prerequisites
A traffic classifier is configured in the system view and the traffic classifier view is displayed.
Configuration Impact
The traffic action in the traffic behavior bound to the traffic classifier is performed for the traffic matching the specified value of the next IPv6 header.
Follow-up Procedure
You need to configure the traffic behavior and traffic policy, bind the traffic behavior to the traffic classifier in the traffic policy, and apply the traffic policy to interfaces.
Precautions
You can configure more than one matching rules to match the next IPv6 header in one traffic classifier.