DETAILED STEPS
Step 1
configure
Step 2
router static
Example:
RP/0/RSP0/CPU0:router(config)# router static
Enters static route configuration mode.
Step 3
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config-static)# vrf vrf_A
(Optional) Enters VRF configuration mode.
If a VRF is not specified, the static route is configured under the default VRF.
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 ] { ip-address | interface-type interface-instance } [ 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
A floating static route is often used to provide a backup path if connectivity fails. In the following example,
a route is configured with an administrative distance of 201.
configure
router static
address-family ipv6 unicast
2001:0DB8::/32 2001:0DB8:3000::1 201
end
Configure Static Routes Between PE-CE Routers
This task explains how to configure static routing between PE-CE routers.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 559
Implementing Static Routes
Configure Static Routes Between PE-CE Routers