vrf attach

Syntax

vrf attach没有vrf attach

描述

高度的接口多联机with the name. The command can be entered in several different command contexts.

CAUTION:

The没有form of the command detaches the interface from the named VRF and will remove all configurations from the interface and attach the interface to the default VRF. A warning message is displayed that prompts you whether to proceed:All Layer 3 configurations associated with the VRF will be deleted. Continue (y/n)?

Command context

config-if

config-if-vlan

config-lag-if

config-gre-if

Parameters

Specifies the VRF name. Required. Length: Up to 32 alphanumeric characters.

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config)#interface 1/1/29switch(config-if)#vrf attach test
switch(config)#vlan 3switch(config-vlan)#exitswitch(config)#interface vlan 3switch(config-if-vlan)#vrf attach test
switch(config)#vrf testswitch(config)#interface lag 3switch(config-lag-if)#没有shutdownswitch(config-lag-if)#vrf attach test
switch(config)#interface 1/1/29switch(config-if)#没有vrf attach test