The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Policy Based Routing (PBR) commands that begin with I.
To identify a route map to use the policy routing on an interface, use the ip policy route-map command.
To remove the route map, use the no form of this command.
Name of the route map. The name can be any alphanumeric string up to 63 characters. |
|
|
---|---|
Use the ip policy route-map command to identify a route map to use for policy routing. Use the route-map command to create the route map. Each route-map command has a list of match and set commands associated with it. The match commands specify the match criteria—the conditions under which policy routing is allowed for the interface, based on the destination IP address of the packet. The set commands specify the set actions—the particular policy routing actions to perform if the criteria enforced by the match commands are met. The no ip policy route-map command deletes the pointer to the route map.
You can perform policy-based routing on any match criteria that can be defined in an expanded IP access list when using the match ip address command and referencing an expanded IP access list.
You must enable policy-based routing with the feature pbr command before you can use the ip policy route-map command.
This example shows how to configure a policy-based route map to an interface:
|
|
---|---|
To identify a route map to use the policy routing on an interface, use the ip policy route-map command.
To remove the route map, use the no form of this command.
Name of the route map. The name can be any alphanumeric string up to 63 characters. |
|
|
---|---|
Use the ipv6 policy route-map command to identify a route map to use for policy routing on an IPv6 interface. Use the route-map command to create the route map. Each route-map command has a list of match and set commands associated with it. The match commands specify the match criteria—the conditions under which policy routing is allowed for the interface, based on the destination IPv6 address of the packet. The set commands specify the set actions—the particular policy routing actions to perform if the criteria enforced by the match commands are met. The no ipv6 policy route-map command deletes the pointer to the route map.
You can perform policy-based routing on any match criteria that can be defined in an IPv6 access list when using the match ipv6 address command and referencing an IPv6 access list.
You must enable policy-based routing with the feature pbr command before you can use the ipv6 policy route-map command.
This example shows how to configure a policy-based route map to an interface:
|
|
---|---|