Configure Static Route - Cisco NCS 5500 Series Configuration Manuals

Routing configuration ios xr release 6.3.x
Hide thumbs Also See for NCS 5500 Series:
Table of Contents

Advertisement

Configure Static Route

Configure Static Route

Static routes are entirely user configurable and can point to a next-hop interface, next-hop IP address, or both.
In the software, if an interface was specified, then the static route is installed in the Routing Information Base
(RIB) if the interface is reachable. If an interface was not specified, the route is installed if the next-hop address
is reachable. The only exception to this configuration is when a static route is configured with the permanent
attribute, in which case it is installed in RIB regardless of reachability.
Note
Currently, only default VRF is supported. VPNv4, VPNv6 and VPN routing and forwarding (VRF) address
families will be supported in a future release.
This task explains how to configure a static route.
SUMMARY STEPS
1. configure
2. router static
3. vrf vrf-name
4. address-family { ipv4 | ipv6 } { unicast | multicast }
5. prefix mask [vrf vrf-name ] { ip-address | interface-type interface-instance } [ distance ] [ description
text ] [ tag tag ] [ permanent ]
6. commit
DETAILED STEPS
Step 1
configure
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)# address family ipv4 unicast
Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.3.x
192
Implementing Static Routes

Advertisement

Table of Contents
loading

Table of Contents