Supported Platforms
Overriding the Input Classification
For IPv4 or IPv6 packets, you can override the incoming classification, assigning them to the same forwarding class based on their input interface, input precedence bits, or destination address. You do so by defining a policy class when configuring CoS properties and referencing this class when configuring a routing policy.
When you override the classification of incoming packets, any mappings you configured for associated precedence bits or incoming interfaces to output transmission queues are ignored. Also, if the packet loss priority (PLP) bit was set in the packet by the incoming interface, the PLP bit is cleared.
To override the input packet classification, do the following:
- Define the policy class by including the class statement at the [edit class-of-service policy] hierarchy
level:[edit class-of-service]
class-name is a name that identifies the class.
- Associate the policy class with a routing policy by including
it in a policy-statement statement at the [edit policy-options] hierarchy level. Specify the destination prefixes in the route-filter statement and the CoS policy class name in the then statement.[edit policy-options]policy-statement policy-name {term term-name {from {route-filter destination-prefix match-type <class class-name>}then class class-name;}}
- Apply the policy by including the export statement
at the [edit routing-options] hierarchy level:[edit routing-options]forwarding-table {export policy-name;}