Enters static route configuration mode.
Step 3
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config-static)# vrf vrf_A
Enters VRF configuration mode.
Step 4
address-family { ipv4 | ipv6 } { unicast | multicast }
Example:
RP/0/RSP0/CPU0:router(config-static-vrf)# address family ipv6 unicast
Enters address family mode.
Step 5
prefix mask [vrf vrf-name ] {next-hop ip-address | interface-name } {path-id } [ distance ] [ description text ] [
tag tag ] [ permanent ]
Example:
RP/0/RSP0/CPU0:router(config-static-vrf-afi)# 2001:0DB8::/32 2001:0DB8:3000::1 201
Configures an administrative distance of 201.
Step 6
commit
Enabling Object Tracking for Static Routes
Perform this task to enable object racking for static routes.
SUMMARY STEPS
1.
configure
2.
router static
3.
Use one of these commands:
•
address-family {ipv4 | ipv6} unicast
•
vrf vrf-name address-family { ipv4 | ipv6} unicast
4.
ip-address / length [vrf vrf-name] {next-hop | type interface-path-id} track object-name
5.
commit
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 563
Implementing Static Routes
Enabling Object Tracking for Static Routes