Implementing Static Routes on Cisco IOS XR Software
How to Implement Static Routes on Cisco IOS XR Software
RC-426
Cisco IOS XR Routing Configuration Guide
OL-14356-01
6. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
router static
Example:
RP/0/RP0/CPU0:router(config)# router static
Enters static route configuration mode.
Step 3
vrf vrf-name
Example:
RP/0/RP0/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/RP0/CPU0:router(config-static-vrf)# addres
s family ipv6 unicast
Enters address family mode.