[Contents] [Prev] [Next] [Index] [Report an Error]

# virtual-router

#### Syntax

virtual-router vrName | :vrfName | vrName:vrfName

no virtual-router vrName [ wait-for-completion [ waitSeconds ] ]

#### Release Information

Command introduced before JUNOSe Release 7.1.0.

#### Description

Creates a virtual router or accesses the context of a previously created virtual router or a VRF. The no version deletes the virtual router, and the router defaults to the default virtual router. Issuing a no version that specifies an existing VRF only displays the error message: “ Cannot delete a VRF with this command.” You must use the no ip vrf command to remove a VRF.

| Note: In Domain Map Configuration mode, the virtual-router command has been replaced by the router-name command and may be removed completely from Domain Map Configuration mode in a future release.

#### Options

- vrName—Name of the virtual router; a string of 1–32 alphanumeric characters
- :vrfName—Name of a VRF in the current VR context; a string of 1–32 alphanumeric characters
- vrName:vrfName—Name of a VRF in the context of a VR other than the current VR
- 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
- 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 been completed

#### Mode

Global Configuration, Privileged Exec

[Contents] [Prev] [Next] [Index] [Report an Error]