
Set
Match
Attribute
Attach Point
n/a
in
destination
redistribute
set
n/a
metric-type
n/a
in
next-hop
set
n/a
ospf-metric
n/a
is, le, ge, eq
rib-metric
n/a
route-has-level
route-has-level
n/a
is
route-type
set
is, le, ge, eq
tag
IS-IS Policy Attach Points
This section describes each of the IS-IS policy attach points and provides a summary of the IS-IS 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 describes an example. Here, routes from IS-IS instance 1 are redistributed into IS-IS instance
instance_10 using the policy ISIS-redist. This policy sets the level to level-1-2 for all redistributed routes.
IS-IS 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 isis-metric 100
elseif tag eq 20 then
set isis-metric 200
else
drop
endif
end-policy
router isis instance_10
address-family ipv4 unicast
redistribute isis 1 policy ISIS-redist
.
.
.
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
435
Implementing Routing Policy
IS-IS Policy Attach Points