Specifications

Table Of Contents
ip route vrf
MP-100
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
ip route vrf
To establish static routes for a Virtual private Network (VPN) routing and forwarding (VRF) instance,
use the ip route vrf command in global configuration mode. To disable static routes, use the no form of
this command.
ip route vrf v
rf-name prefix mask [next-hop-address] [interface interface-number] [global]
[distance] [permanent] [tag tag]
no ip
route vrf vrf-name prefix mask [next-hop-address] [interface interface-number] [global]
[distance] [permanent] [tag tag]
Syntax Description
Defaults No default behavior or values.
Command Modes Global configuration
Command History
vrf-name Name of the VRF for the static route.
prefix IP route prefix for the destination, in dotted decimal format.
mask Prefix mask for the destination, in dotted decimal format.
next-hop-address (Optional) IP address of the next hop (the forwarding router that can
be use
d to reach that network).
interface (Optional) Type of network interface to use.
interface-number (Optional) Number identifying the network interface to use.
global (Optional) Specifies that the given next hop address is in the
non-
VRF routing table.
distance (Optional) An administrative distance for this route.
permanent (Optional) Specifies that this route will not be removed, even if the
i
nterface shuts down.
tag ta
g (Optional) Label (tag) value that can be used for controlling
redistribution of routes through route maps.
Release Modification
12.0(5)T This command was introduced.
12.0(21)ST This command was integrated into Cisco IOS 12.0(21)ST.
12.0(22)S This command was integrated into Cisco IOS 12.0(22)S.
12.0(23)S This command was integrated into Cisco IOS 12.0(23)S.
12.2(13)T This command was integrated into Cisco IOS 12.2(13)T.
12.2(14)S This command was integrated into Cisco IOS 12.2(14)S.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train. Support
i
n a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.