Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
Configuring Multiple VRF
Configuring VRF Instances
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 25-13
Configuring VRF Instances
Configuring the Multiple VRF feature consists of creating a VRF instance, assigning one or more IP 
interfaces to the instance, and configuring routing protocols to operate within a specific instance. 
The initial configuration of an Alcatel-Lucent switch consists of a default VRF instance, which is always 
active when the switch starts up and is not removable from the switch configuration. Any subsequent 
configuration of switch applications applies only to the default instance. To provide multiple, independent 
IP routing domains on the same switch, configuring additional VRF instances is required.
The VRF CLI is context-based in that commands used to configure VRF-aware applications are applied to 
the active VRF instance. A VRF instance becomes active when the instance is either created or selected 
using the 
 command. 
A VRF instance is identified by a name, which is specified at the time the instance is configured. For 
example, the following command creates the IpOne instance:
-> vrf IpOne
IpOne: ->
In this example, instance IpOne is created and made the active VRF context at the same time. Note that 
the CLI command prompt indicates the active context by displaying the name of the VRF instance as part 
of the actual prompt. Any subsequent commands entered on this command line are applied to the IpOne 
instance.
Within the context of the default VRF instance, it is also possible to enter configuration commands for 
another instance. For example, to configure an IP interface for instance IpOne from within the CLI context 
of the default instance, prefix the ip interface command with vrf command followed by the name of the 
instance. For example:
-> vrf IpOne ip interface intf100 address 100.1.1.1/24 vlan 100 
->
The above command creates the IP interface for VRF IpOne but does not change the CLI context in which 
the command was entered. The default VRF instance remains the active context. 
Note. The default VRF instance is the only VRF CLI context within which configuration of another 
instance is allowed.