Cisco Systems IOS XR Laptop User Manual


 
Implementing Routing Policy on Cisco IOS XR Software
Information About Implementing Routing Policy
RC-234
Cisco IOS XR Routing Configuration Guide
IS-IS Policy Attach Points
This section describes each of the IS-IS policy attach points and provides a summary of the BGP
attributes and operators.
Redistribute
The redistribute attach point within IS-IS allows routes from other protocols to be readvertised by IS-IS.
The policy is a set of control structures for selecting the types of routes that a user wants to redistribute
into IS-IS. The policy can also control which IS-IS level the routes are injected into and at what metric
values.
The following example shows how to redistribute routes from IS-IS instance 1 into IS-IS instance
instance_10 using the policy ISIS-redist. This policy sets the level to level-1-2 for all redistributed
routes. OSPF routes with a tag of 10 have their metric set to 100, and IS-IS routes with a tag of 20 have
their IS-IS metric set to 200. Any IS-IS routes not carrying a tag of either 10 or 20 are not be redistributed
into the IS-IS database.
route-policy ISIS-redist
set level level-1-2
if tag eq 10 then
set metric 100
elseif tag eq 20 then
set metric 200
else
drop
endif
end-policy
router isis instance_10
address-family ipv4 unicast
redistribute ospf 1 policy ISIS-redist
.
.
.
IS-IS Attributes and Operators
Table 7 summarizes the IS-IS attributes and operators.
Table 7 IS-IS Attributes and Operators
Attribute Match Set
Destination in n/a
Level n/a set
metric n/a set
metric-type n/a set
rib-has-route in n/a
route-type is n/a
tag eq, ge, le n/a