Adding or deleting a VRF


You must be in the global configuration context, as indicated by the config prompt.

To configure a VRF, enter the following command.

vrf <vrf-name>

Where <vrf-name> is the name of the VRF, up to 32 alpha numeric characters.


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# configure terminal
switch(config)# vrf test
switch# configure terminal
switch(config)# no vrf test

Related topic: vrf (command reference)