ip vrf forwarding
[ no ] ip vrf forwarding vrfName [ fallback global ]
Syntax
Command introduced before JUNOSe Release 7.1.0.
Release Information
Assigns a VRF to an interface or subinterface. Optionally specifies secondary routing
Description
table lookup on the parent (global) virtual router forwarding table if a lookup on the
initial VRF forwarding table does not yield any results. The no version removes the
assignment or discontinues the secondary routing table lookup option.
NOTE: The ip vrf forwarding command changes the prompt to indicate that the CLI
is now in Interface or Subinterface Configuration mode within the child VRF. This
condition persists only for as long as you are configuring attributes on the given
interface within the VRF. Entering a top-level command, such as interface, within
this VRF context takes the CLI out of the VRF context back to the parent VR context.
When you issue the ip vrf forwarding command from within the Interface
Configuration or Subinterface Configuration mode of the parent VR, the IP address
and other attributes of the interface are deleted from the interface. You must then
reconfigure the IP attributes in the context of the VRF after issuing the command.
Options
Interface Configuration, Subinterface Configuration
Mode
vrfName Name of the VRF; a string of 1–32 alphanumeric characters
fallback global Specifies secondary routing table lookup on the parent (global)
virtual router forwarding table, if an initial VRF forwarding table lookup does not
yield results.
Chapter 10: I Commands
971
ip vrf forwarding