コンフィグレーションガイド Vol.3


5.3.2 VRF情報の確認

〈この項の構成〉

(1) IPv4情報の確認

show ip vrfコマンドで,VRFのIPv4経路情報やVRFに所属するIPv4インタフェースの状態を確認できます。コマンドの実行結果を次に示します。

図5‒3 show ip vrfコマンドの実行結果
> show ip vrf all
Date 20XX/12/20 12:00:00 UTC
VRF              Routes        ARP
global           12/100        12/100
100              7/30          7/50
図5‒4 show ip vrfコマンド(detailパラメータ指定)の実行結果
>show ip vrf all detail
Date 20XX/12/20 12:00:00 UTC
VRF: global
  Maximum routes: 100, Warn threshold: 70%, Current routes: 12
  Maximum ARP entries: 100, Current ARP entries: 12
  Import inter-vrf: Match_Ext
Interface
Name           Local              Remote          Status
Eth1/9         192.168.1.1/24     192.168.1.255   Up
localhost      127.0.0.1/8        127.0.0.1       Up
 
VRF: 10
  Maximum routes: 50, Warn threshold: 70%, Current routes: 10
  Maximum ARP entries: 30, Current ARP entries: 10
  Import inter-vrf: FLT_SET
Interface
Name           Local              Remote          Status
Eth1/1         192.168.10.1/24    192.168.10.255  Up
localhost      127.0.0.1/8        127.0.0.1       Up
 
VRF: 20
  Maximum routes: 10, Warning only, Current routes: 5
  Maximum ARP entries: 10, Current ARP entries: 5
  Import inter-vrf: FLT_EXT1
Interface
Name           Local              Remote          Status
Eth1/5         172.16.1.100/16    172.16.255.255  Up
localhost      127.0.0.1/8        127.0.0.1       Up
>

(2) IPv6情報の確認

show ipv6 vrfコマンドで,VRFのIPv6経路情報やVRFに所属するIPv6インタフェースの状態を確認できます。コマンドの実行結果を次に示します。

図5‒5 show ipv6 vrfコマンドの実行結果
>show ipv6 vrf all
Date 20XX/10/08 12:00:00 UTC
VRF              Routes          Neighbor
global           12/100          12/100
100              7/30            7/50
図5‒6 show ipv6 vrfコマンド(detailパラメータ指定)の実行結果
>show ipv6 vrf all detail
Date 20XX/10/08 12:00:00 UTC
VRF: global
  Maximum routes: 100, Warn threshold: 70%, Current routes: 12
  Maximum Neighbor entries: 100, Current Neighbor entries: 12
  Import inter-vrf: Match_Ext
Interface
Name           Address                                     Status
Eth1/9         2001:db8:3:3::3/64                          Up
Eth1/9         fe80::212:e2ff:fe86:5300%Eth1/9/64          Up
localhost      fe80::1%localhost/64                        Up
 
VRF: 10
  Maximum routes: 50, Warn threshold: 70%, Current routes: 10
  Maximum Neighbor entries: 30, Current Neighbor entries: 10
  Import inter-vrf: FLT_SET
Interface
Name           Address                                     Status
Eth1/1         2001:db8:1:1::1/64                          Up
Eth1/1         fe80::212:e2ff:fe86:5300%Eth1/1/64          Up
localhost      ::1/128                                     Up
localhost      fe80::1%localhost/64                        Up
 
VRF: 20
  Maximum routes: 10, Warning only, Current routes: 5
  Maximum Neighbor entries: 10, Current Neighbor entries: 5
  Import inter-vrf: FLT_EXT1
Interface
Name           Address                                     Status
Eth1/2         2001:db8:2:2::2/64                          Up
Eth1/2         fe80::212:e2ff:fe86:5300%Eth1/2/64          Up
localhost      ::1/128                                     Up
localhost      fe80::1%localhost/64                        Up
>