
Configuring Multiple VRF
Quick Steps for Configuring Multiple VRF
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 16-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 selecting, adding,
or removing instances.
1
Create VRF instance,
IpOne
-> vrf IpOne
IpOne::->
In this 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
apply to this instance, unless the commands entered are not supported in multiple VRF instances.
2
Create a second VRF instance,
IpTwo
, using the
vrf
command. For example:
IpOne::-> vrf IpTwo
IpTwo::->
In this example,
IpOne
was the active instance until
IpTwo
was created and replaced
IpOne
as the
active VRF CLI context.
3
Select
IpOne
for the active VRF instance and create an IP router interface on VLAN 100 and VLAN
101 using the
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::->
4
Configure 1.1.1.1 as the primary router ID address for the
IpOne
command. For example:
IpOne::-> ip router router-id 1.1.1.1
IpOne::->
5
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::->
6
Load and enable the RIP protocol for the
IpOne
and
IpOne::-> ip load rip
IpOne::-> ip rip admin-state enable
IpOne::->