policy route pbr <name> rule <rule-number> ipv6-route type <type-number>
Defines the IPv6 route type to match for a routing policy rule.
- name
- Name of a PBR group. The PBR group must be unique and must not be used with other PBR policy commands.
- rule-number
-
The numeric identifier of the rule. Rule numbers determine the order in which rules are executed. Each rule must have a unique rule number. The numbers range from 1 through 9999.
You can define multiple rules by creating more than one rule configuration node.
- ipv6-route
- Specifies matching based on an IPv6 route.
- type-number
- IPv6 route-type. Values range from 0 through 255.
Configuration mode
policy {
route {
pbr name {
rule rule-number {
ipv6-route {
type type-number
}
}
}
}
}
You must specify the address-family, action, and table leaf nodes to configure a routing policy. It is recommended to use thedelete policy route pbr name rule number command to delete a routing policy.
Use the set form of this command to define the IPv6 route type for a routing-policy rule set.
Use the delete form of this command to delete the IPv6 route type for the routing-policy rule set.
Use the show form of this command to display the IPv6 route type for the routing-policy rule set.