IS-IS Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

IS-IS Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Configure a routing policy

Want to summarize with AI?

Log in

Guides you through defining and applying a routing policy to control IS-IS routing decisions for multicast and unicast traffic, including matching source and destination addresses, and referencing RPF topology tables.


Define and apply a routing policy to control packet handling based on source and destination IP addresses.

Routing policies guide routers in forwarding packets according to network requirements. This process includes matching traffic, applying policies, and using RPF topology tables.

Before you begin

  • Decide the policy name and match criteria.

  • Know the RPF topology tables you will reference.

Procedure

1.

Create a routing policy by specifying a policy name.

Example:

Router(config)# route-policy mt1
2.

Add a conditional statement to match specific destination addresses.

Example:

Router(config-rpl)# if destination in 10.0.0.1, 10.0.0.11 then
3.

Add a conditional statement to match source addresses and set the RPF topology table accordingly.

Example:

Router(config-rpl-if)# if source in (10.10.10.10) then
Router(config-rpl-if-2)# set rpf-topology ipv4 multicast topology greentable
Router(config-rpl-if-2)# else
Router(config-rpl-if-else-2)# set rpf-topology ipv4 multicast topology bluetable
Router(config-rpl-if-2)# endif
Router(config-rpl-if)# endif
Router(config-rpl)# end-policy