API Guide
 C 40.0.0.0/24 via 40.0.0.1 ethernet1/1/4 0/0 02:01:15 
=================================================================================
路由器 2 显示命令输出
OS10# show ip vrf
VRF-Name Interfaces
blue Eth1/1/5
 Vlan128
default Mgmt1/1/1
 Vlan1,24-25,200
green Eth1/1/7
 Vlan256
orange Eth1/1/6
 Vlan192
OS10# show ip route vrf blue
Codes: C - connected
 S - static
 B - BGP, IN - internal BGP, EX - external BGP
 O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1,
 N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
 E2 - OSPF external type 2, * - candidate default,
 + - summary route, > - non-active route
Gateway of last resort is not set
 Destination Gateway Dist/Metric Last Change
-------------------------------------------------------------------------------
 C 21.0.0.0/24 via 21.0.0.1 ethernet1/1/5 0/0 02:05:00 
OS10# show ip route vrf orange
Codes: C - connected
 S - static
 B - BGP, IN - internal BGP, EX - external BGP
 O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1,
 N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
 E2 - OSPF external type 2, * - candidate default,
 + - summary route, > - non-active route
Gateway of last resort is not set
 Destination Gateway Dist/Metric Last Change
--------------------------------------------------------------------------------
 C 31.0.0.0/24 via 31.0.0.1 ethernet1/1/6 0/0 02:09:19 
OS10# show ip route vrf green
Codes: C - connected
 S - static
 B - BGP, IN - internal BGP, EX - external BGP
 O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1,
 N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
 E2 - OSPF external type 2, * - candidate default,
 + - summary route, > - non-active route
Gateway of last resort is not set
 Destination Gateway Dist/Metric Last Change
---------------------------------------------------------------------------------
 C 41.0.0.0/24 via 41.0.0.1 ethernet1/1/7 0/0 02:45:16 
=================================================================================
Identifier
GUID-CD4BD98C-18B1-4925-B475-2BCFD747B023
Version 3
Status Translation approved
查看 VRF 实例信息
要显示有关 VRF 配置的信息,请使用 show ip vrf 命令。要显示有关所有 VRF 实例(包括默认 VRF 0)的信息,请勿输入 vrf-
name 的值。
• 显示 VRF 实例接口。
EXEC
第 3 层 501










