Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    ip vrf forwarding


    [ no ] ip vrf forwarding vrfName [ fallback global ]

    Release Information

    Command introduced before JunosE Release 7.1.0.


    Assigns a VRF to an interface or subinterface. Optionally specifies secondary routing 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.


    • 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.


    Interface Configuration, Subinterface Configuration

    Published: 2014-08-14