This command displays information about IPv4 VPN BGP routes installed in the BGP routing information base (RIB) for the specified VRF.
vrf-name | Displays the named VRF. |
labels | (Optional) Displays incoming and outgoing BGP labels for each prefix in the routing table. |
peer ip-addr | (Optional) Specifies the IPv4 peer route information to display. |
received-routes | Displays received routes from the peer after import policies are applied matching prefix and mask (local-rib). |
advertised-routes | Displays all routes advertised to the peer after export policies have been applied that match a prefix and mask (rib-out). |
prefix/length | Displays specified BGP route destination. |
longer-prefixes | (Optional) Specifies that only routes exactly matching the specified IP address will display. |
detail | (Optional) Displays a detailed level of information including:
|
ip-prefix/mask | (Optional) Specifies an IP prefix and mask for BGP route display. |
longer-prefixes | (Optional) Specifies that only routes matching the specified IP address or IP prefix/length will display. |
detail | (Optional) Displays a detailed level of information including:
|
All command modes.
The following example displays all BGP VPN routes for VRF Nike.
System(rw)->show ip bgp vpn vrf Nike Route status codes: > - active Network Next Hop Rib MED Local-Pref Origin Weight AS Path Route Distinguisher: 192.16.168.12:1 (default for vrf Nike) > 140.128.12.0/24 192.17.170.10 U 2 100 IGP 0 > 140.128.13.0/27 192.17.170.10 U 12 100 IGP 0 > 140.128.13.32/27 192.17.170.10 U 12 100 IGP 0 > 140.128.13.64/27 192.17.170.10 U 12 100 IGP 0 > 140.128.13.96/27 192.17.170.10 U 12 100 IGP 0 > 140.128.13.128/27 192.17.170.10 U 2 100 IGP 0 > 140.128.13.160/27 192.17.170.10 U 2 100 IGP 0 > 140.128.13.192/27 192.17.170.10 U 2 100 IGP 0 > 140.128.13.224/27 192.17.170.10 U 2 100 IGP 0 > 192.16.168.13/32 192.17.170.10 U 21 100 IGP 0 > 192.16.168.112/29 192.17.170.10 U 11 100 IGP 0 System(rw)->
The following example displays BGP VPN route labels for VRF vpnA:
System(rw)->show ip bgp vpn vrf vpnA labels Route status codes: > - active Network Next Hop In Label/Out Label Route Distinguisher: 1:52 (default for vrf vpnA) > 1.0.0.3/32 1.0.0.1 16/No Label > 1.0.0.5/32 1.0.0.1 16/No Label > 10.0.0.0/8 1.0.0.1 16/No Label > 52.1.0.0/24 1.0.0.1 16/No Label > 53.2.1.0/24 1.0.0.1 16/No Label > 134.141.0.0/16 1.0.0.1 16/No Label > 172.1.1.0/24 1.0.0.1 16/No Label > 172.1.2.0/24 1.0.0.1 16/No Label > 172.1.3.0/24 1.0.0.1 16/No Label ... System(rw)->
The following example displays a detailed level of information for IPv4 BGP VPN VRF vpnA route 53.2.1.0/24:
System(rw)->show ip bgp vpn vrf vpnA 53.2.1.0/24 detail Route status codes: > - active Network Next Hop Rib MED Local-Pref Origin AS Path Route Distinguisher: 1:52 (default for vrf vpnA) > 53.2.1.0/24 1.0.0.1 U 0 100 IGP Community attributes in route: Extended Community attributes in route: Route Target: 1:52 (0x0002000100000034) Route Target: 2:52 (0x0002000200000034) Route Flap Dampening configuration file name: None System(rw)->
show ip bgp vpn vrf Output Details table describes the fields that appear in the show ip bgp vpn vrf query.
..
Output... | What it displays... |
---|---|
Route status codes | A greater than symbol “>” specifies the active or used route. If no symbol displays, the route is not being used for the displayed context. |
Network | Specifies the network this route is on. |
Next Hop | Specifies the IP address of the nearest gateway used to reach the EBGP peer. |
Rib | Specifies whether the route is installed in the unicast or multicast RIB. |
MED | Specifies the MED value for the route. |
Local-Pref | Specifies the Local Preference value for the route. |
Origin | Specifies whether the origin of the route is an internal or external protocol. |
AS Path | Specifies the route‘s AS Path. |
Route Distinguisher | Specifies the route distinguisher associated with the next series of routes. |
In Label/Out Label | Incoming and outgoing BGP labels for the specified network and next hop. |
Community attributes in route | Specifies any community attributes for this route. |
Extended Community attributes in route | Specifies any extended community attributes for this route. |
Route Flap Dampening configuration file name | Specifies the name of the route flap dampening configuration file or “None” if no file exists. |