Country/Region

- United States
- ASEAN Region
- Australia
- 中国 - China
- France
- Deutschland - Germany
- India
- Italia - Italy
- 日本 - Japan
- 대한민국 - Korea
- Россия - Russia
- España - Spain
- 台灣 - Taiwan
- United Kingdom

Contact Us
|
Country/Region
United States

# Technical Documentation

Download Software
Research a Problem
Case Management
Contract & Product Management
Technical Documentation
Documentation Archive
Report Documentation Bug
Enterprise MIBs
File Format Help
Glossary
Portable Libraries
End-of-Life Products
Contact Support
Guidelines and Policies
Security Resources
Feedback

## Documentation Search

Advanced Search | Search Tips

# 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

#### Published: 2010-10-19

Help
|
My Account
|
Log Out