Enters interface configuration mode.
Step 7 address-family { ipv4 | ipv6 } [ unicast ]
Example:
RP/0/RP0/CPU0:router(config-isis-if)# address-family ipv4 unicast
Specifies the IPv4 or IPv6 address family, and enters address family configuration mode.
Step 8 tag tag
Example:
RP/0/RP0/CPU0:router(config-isis-if-af)# tag 3
Sets the value of the tag to associate with the advertised connected route.
Step 9 commit
Step 10 show isis [ ipv4 | ipv6 | afi-all ] [ unicast | safi-all ] route [ detail ]
Example:
RP/0/RP0/CPU0:router(config-isis-if-af)# show isis ipv4 route detail
Displays tag information. Verify that all tags are present in the RIB.
Tagging Routes: Example
The following example shows how to tag routes.
route-policy isis-tag-55
end-policy
!
route-policy isis-tag-555
if destination in (5.5.5.0/24 eq 24) then
set tag 555
pass
else
drop
endif
end-policy
!
router static
address-family ipv4 unicast
0.0.0.0/0 2.6.0.1
5.5.5.0/24 Null0
!
!
router isis uut
net 00.0000.0000.12a5.00
address-family ipv4 unicast
metric-style wide
redistribute static level-1 route-policy isis-tag-555
spf prefix-priority critical tag 13
spf prefix-priority high tag 444
spf prefix-priority medium tag 777
Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.3.x
18
Implementing IS-IS
Tag IS-IS Interface Routes