show ip vrf コマンドまたは show ip bgp vpnv4 コマンドを使用すると、プレフィックスがグローバル ルーティング テーブルから VRF テーブルにインポートされていることを確認できます。
次の出力例では、UNICAST という名前のインポート ルート マップが IPv4 ユニキャスト プレフィックスをインポートしており、プレフィックス インポート制限が 1000 であることを示します。
Device# show ip vrf detail
VRF green; default RD 200:1; default VPNID <not set>
Interfaces:
Se2/0
VRF Table ID = 1
Export VPN route-target communities
RT:200:10
Import VPN route-target communities
RT:200:10
Import route-map for ipv4 unicast: UNICAST (prefix limit: 1000)
No export route-map
VRF label distribution protocol: not configured
VRF label allocation mode: per-prefix
VRF red; default RD 200:2; default VPNID <not set>
Interfaces:
Se3/0
VRF Table ID = 2
Export VPN route-target communities
RT:200:20
Import VPN route-target communities
RT:200:20
No import route-map
No export route-map
VRF label distribution protocol: not configured
VRF label allocation mode: per-prefix
次の出力例は、インポート ルート マップ名、プレフィックス インポート制限、インポートされたプレフィックスの実際の数、および個別のインポート エントリを示します。
Device# show ip bgp vpnv4 all
BGP table version is 18, local router ID is 10.131.127.252
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 200:1 (default for vrf green)
Import Map: UNICAST, Address-Family: IPv4 Unicast, Pfx Count/Limit: 1/1000
*>i10.131.64.0/19 10.131.95.252 0 100 0 i
*> 172.16.1.1/32 172.16.2.1 0 32768 i
*> 172.16.2.0/30 0.0.0.0 0 32768 i
*>i172.31.1.1/32 10.131.95.252 0 100 0 i
*>i172.31.2.0/30 10.131.95.252 0 100 0 i
Route Distinguisher: 200:2 (default for vrf red)
*> 172.16.1.1/32 172.16.2.1 0 32768 i
*> 172.16.2.0/30 0.0.0.0 0 32768 i
*>i172.31.1.1/32 10.131.95.252 0 100 0 i
*>i172.31.2.0/30 10.131.95.252 0 100 0 i