Selecting A Vrf Instance - OmniSwitch os6900 Network Configuration Manual

Table of Contents

Advertisement

Configuring Multiple VRF

Selecting a VRF Instance

Moving between VRF instances is done by selecting an existing instance to become the active VRF CLI
context. The
vrf
command is also used to select an existing instance. For example, the following
command selects the IpTwo instance:
IpOne: -> vrf IpTwo
IpTwo: ->
In the above example, selecting the IpTwo instance changed the VRF CLI context from IpOne to IpTwo.
Any subsequent commands entered apply to the IpTwo instance.
Note. If the instance name specified with the vrf command does not exist, a VRF instance is automati-
cally created. In addition, configuring a VRF instance name is case sensitive. As a result, it is possible to
accidentally create or delete instances. Use the
tion before selecting, adding, or removing instances.
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, both of the following commands return the
CLI context to the default VRF instance:
IpOne: -> vrf
IpOne: -> vrf default
Note that the command prompt for the default VRF instance does not display the instance name.
Assigning IP Interfaces to a VRF Instance
When a VRF instance is created or an existing instance is selected, any IP interface subsequently config-
ured is associated with that instance. For example, the following commands select the IpOne VRF
instance and configure an IP interface for that instance:
-> vrf IpOne
IpOne: -> ip interface intf100 address 100.1.1.1/24 vlan 100
IpOne: ->
Once an IP interface is associated with a VRF instance, Layer 3 traffic on that interface is routed within
the domain of the VRF instance. In other words, such traffic is only routed between other IP interfaces that
are associated with the same VRF instance. Any additional routing protocol traffic configured for that
same interface is also routed within the associated VRF domain.
Use the following guidelines when configuring IP interfaces for a VRF instance:
A single IP interface as well as the VLAN associated with the interface, can only belong to one VRF
instance at a time.
Once a VLAN is associated with a specific VRF instance, configuring an interface for that VLAN
within the context of any other instance, is not allowed. For example, if the first IP interface config-
ured for VLAN 100 was associated with the VRF IpOne instance, then any subsequent IP interface
configuration for VLAN 100 is only allowed within the context of the IpOne instance.
A VRF instance can have multiple VLAN associations, even though a VLAN can only have one VRF
association.
OmniSwitch AOS Release 7 Network Configuration Guide
show vrf
command to verify the VRF instance configura-
June 2013
Configuring VRF Instances
page 16-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents