vrf attach <VRF-NAME>
Syntax
vrf attach <VRF-NAME>
no vrf attach <VRF-NAME>
Description
Attaches a non-default VRF to a loopback.
The
no
form of this command deletes a non default VRF from a loopback and reattaches the default VRF.
Command context
config
Parameters
<VRF-NAME>
Specifies the name of the non default VRF to be attached/deleted to/from a loopback.
Authority
Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.
Examples
switch# configure terminal switch(config)# interface loopback 1 switch(config-loopback-if)#vrf attach test