Adding or deleting a VRF
Prerequisites
You must be in the global configuration context, as indicated by the
config
prompt.
Procedure
To configure a VRF, enter the following command.
vrf
<vrf-name>
Where <vrf-name> is the name of the VRF, up to 32 alphanumeric characters.
CAUTION:
The
no
form of the command deletes the VRF and will remove all the configurations from the interfaces which are part of the deleted VRF and move those interfaces to the default VRF.
See the following examples:
switch(config)# vrf test
switch(config)# no vrf test
Related topic: vrf (command reference)