Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
Verifying the VRF Configuration
Configuring Multiple VRF
page 25-16
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Verifying the VRF Configuration
To display a list of VRF instances configured for the switch, use the show vrf command. For example:
-> show vrf
       Virtual Routers    Protocols
-----------------------------------------------
               default
                 IpOne 
RIP
                 IpTwo
BGP
Total Number of Virtual Routers: 3 
The VRF CLI context determines which information is displayed using application-specific show 
commands. For example, if IpOne is the active VRF context, then only IP interfaces associated with IpOne 
are displayed.
-> vrf IpOne
IpOne: -> show ip interface
Total 1 interfaces
        Name            IP Address     Subnet Mask   Status Forward  Device
--------------------+---------------+---------------+------+-------+--------
Loopback             127.0.0.1       255.0.0.0           UP      NO Loopback
intfone              200.1.1.1       255.255.255.0     DOWN      NO vlan 200 
IpOne: -> vrf default
-> show ip interface
Total 6 interfaces
        Name            IP Address     Subnet Mask   Status Forward  Device
--------------------+---------------+---------------+------+-------+--------
EMP                  192.168.10.1    255.255.255.0     DOWN      NO EMP
Loopback             127.0.0.1       255.0.0.0           UP      NO Loopback
vlan 130             192.168.130.161 255.255.255.0     DOWN      NO vlan 130
vlan 2               10.255.11.161   255.255.255.0       UP     YES vlan 2
vlan-2000            172.20.0.1      255.255.0.0         UP     YES vlan 2000
vlan-2100            172.21.0.1      255.255.0.0         UP     YES vlan 2100 
Note that when the default VRF CLI context is active, the show commands can display specific informa-
tion for another instance. This is done by first entering the vrf command followed by the instance name 
and then the show command. For example, the following command displays the IP interfaces configured 
for IpOne from within the context of the default VRF CLI:
-> vrf IpOne show ip interface
For more information about the displays that result from these commands, see the OmniSwitch CLI 
Reference Guide