[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Creating a VRF
Access the desired virtual router context; then
create the VRF(s) for that VR.
- host1(config)#virtual-router vr1
- host1:vr1(config)#ip vrf vrfA
ip vrf
- Use to create a VRF or access VRF Configuration mode to
configure a VRF.
- You must specify a route distinguisher after you create
a VRF. Otherwise, the VRF will not operate.
- Example
- host1:vr1(config)#ip vrf vrfA
- Use the no version to remove
a VRF.
- 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. You can specify a period during which the
CLI waits before it returns a prompt. If you do not specify a wait
time, then the CLI does not return a prompt until the operation completes.
You can press Ctrl+c to break out of the wait period early.
- See ip vrf.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]