Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
Configuring Multiple VRF
Quick Steps for Configuring Multiple VRF
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 25-3
Quick Steps for Configuring Multiple VRF
The initial configuration for an OmniSwitch consists of a default VRF instance. This instance is always 
available and is not removable. The following procedure provides a quick tutorial for creating two 
additional VRF instances and configuring IPv4 protocols to run in each instance:
Note. 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 or delete 
instances. Use the 
 command to verify the VRF instance configuration before adding or 
removing instances.
Create VRF instance, IpOne, using the 
 command. For example:
-> vrf IpOne
IpOne: ->
Note that in the above example, the change in the command prompt from “-> to “IpOne: -> 
indicates that the instance was created and is now the active VRF CLI context. Any commands entered 
at this point will apply to this instance, unless the commands entered are not supported in multiple 
VRF instances.
Create a second VRF instance, IpTwo, using the vrf command. For example:
IpOne: -> vrf IpTwo
IpTwo: ->
Note that in the above example, IpOne was the active instance until IpTwo was created and replaced 
IpOne as the active VRF CLI context. 
Select IpOne for the active VRF instance and create an IP router interface on VLAN 100 and VLAN 
101 using th
 command. For example:
IpTwo: -> vrf IpOne
IpOne: -> ip interface intf100 address 100.1.1.1/24 vlan 100
IpOne: -> ip interface intf101 address 101.1.1.1/24 vlan 101
IpOne: ->
Configure 1.1.1.1 as the primary router ID address for the IpOne VRF instance using the 
 command. For example:
IpOne: -> ip router router-id 1.1.1.1
IpOne: ->
Create an IP static route for the IpOne VRF instance using the 
 command. For example:
IpOne: -> ip static-route 192.100.1.1/24 gateway 100.1.1.10
IpOne: ->
Load and enable the RIP protocol for the IpOne VRF instance using the 
 
commands. For example:
IpOne: -> ip load rip
IpOne: -> ip rip status enable
IpOne: ->