Alcatel-Lucent 6850-48 参照ガイド
IP Commands
page 32-64
OmniSwitch CLI Reference Guide
September 2009
vrf
Configures and selects a virtual routing and forwarding (VRF) instance on the switch.
vrf [name | default]
no vrf name
Syntax Definitions
name
The alphanumeric name (1–20 characters) assigned to the VRF instance.
default
Optional. Selects the default VRF instance.
Defaults
A default VRF instance exists in the switch configuration. All applications that are not VRF aware belong
to this instance.
to this instance.
Platforms Supported
OmniSwitch 9000E
Usage Guidelines
• Use the no form of this command to delete a VRF instance. Note that deleting the default instance is
not allowed. In addition, any interfaces configured for a VRF instance are automatically removed when
the instance is deleted.
the instance is deleted.
• To return to the default VRF instance from within the context of another instance, enter the vrf
command with or without the optional default parameter (for example, vrf or vrf default).
• Configuring a VRF instance name is case sensitive. In addition, if the name specified does not exist, a
VRF instance is automatically created. As a result, it is possible to accidentally create instances or
delete the wrong instance. Use the
delete the wrong instance. Use the
command to verify the VRF instance configuration before
adding or removing instances.
• If the name of an existing instance is specified with this command, VRF changes the command prompt
to reflect the specified instance name. All CLI commands entered at this point are applied within the
context of the active VRF instance.
context of the active VRF instance.
• It is also possible to configure other instances from within the CLI context of the default VRF instance
by entering the vrf command followed by the instance name. For example, entering vrf IpOne ip
interface intf100 address 100.1.1.1/24 vlan 100 is applied to the IpOne instance even though IpOne is
not the active CLI context.
interface intf100 address 100.1.1.1/24 vlan 100 is applied to the IpOne instance even though IpOne is
not the active CLI context.
Parameter
Default
name | default
default VRF instance