Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    ip vrf

    Syntax

    ip vrf vrfName

    no ip vrf vrfName [ wait-for-completion [ waitSeconds ] ]

    Release Information

    Command introduced before JunosE Release 7.1.0.

    Description

    Creates a VRF or accesses VRF Configuration mode to configure a VRF. The no version deletes the VRF.

    Note: After creating the VRF, you must configure a route distinguisher for it through the rd command. If the route distinguisher is not configured, the VRF cannot operate.

    Options

    • vrfName—Name of the VRF; a string of 1–32 alphanumeric characters
    • wait-for-completion—Specifies (in the absence of waitSeconds) that the CLI waits for completion of the no version operation before it returns a prompt, regardless of how long that takes. Use the wait-for-completion keyword with the no version if you require a synchronous, deterministic deletion of a VRF, such as when executing Telnet or console commands by means of an external script. If you do not issue the wait-for-completion keyword in these circumstances, an ip vrf command issued as soon as the prompt appears might fail because the router is still deleting the VRF.
    • waitSeconds—Number of seconds in the range 1–64000 that the CLI waits before it returns a prompt, regardless of whether the no version operation has completed

    Mode

    Global Configuration

    Published: 2014-08-14