Show ip bgp vpnv4

To display VPN address information from the BGP table, use the show ip bgp vpnv4 command in EXEC mode:

■ show ip bgp vpnv4 {all | rd route-distinguisher | vrf vrf-name} [ip-prefix/length [longer-prefixes] [output-modifiers]] [network-address [mask] [longer-prefixes] [output-modifiers]] [cidr-only] [community] [community-list] [dampened-paths] [filter-list] [flap-statistics] [inconsistent-as] [neighbors] [paths [line]] [peer-group] [quote-regexp] [regexp] [summary] [labels]




Displays the complete VPNv4 database.

rd route-distinguisher

Displays Network Layer Reachability Information (NLRI) prefixes that have a matching RD.

vrf vrf-name

Displays NLRI prefixes associated with the named VRF.


(Optional) IP prefix address (in dotted decimal notation) and length of mask (0 to 32).


(Optional) Displays the entry, if any, that exactly matches the specified prefix parameter, as well as all entries that match the prefix in a "longest-match" sense—that is, prefixes for which the specified prefix is an initial substring.

output- modifiers

(Optional) For a list of associated keywords and arguments, use context-sensitive help.


(Optional) IP address of a network in the BGP routing table.


(Optional) Mask of the network address, in dotted decimal notation.


(Optional) Displays only routes that have non-natural net masks.


(Optional) Displays routes matching this community.


(Optional) Displays routes matching this community list.


(Optional) Displays paths suppressed on account of dampening (BGP route from peer is up and down).


(Optional) Displays routes conforming to the filter list.


(Optional) Displays flap statistics of routes.


(Optional) Displays only routes that have inconsistent autonomous systems of origin.


(Optional) Displays details about TCP and BGP neighbor connections.


(Optional) Displays path information.


(Optional) A regular expression to match the BGP AS paths.


(Optional) Displays information about peer groups.

quo te-regexp

(Optional) Displays routes matching the AS path "regular expression."


(Optional) Displays routes matching the AS path "regular expression."


(Optional) Displays BGP neighbor status.


(Optional) Displays incoming and outgoing BGP labels for each NLRI.

Monitoring VRF Routing (Cont.) show ip protocols vrf

Router#show ip protocol vrf SiteX Routing Protocol is "rip"

Sending updates every 30 seconds, next due in 10 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is Redistributing: rip, bgp 3

Default version control: send version 2, receive version 2 Interface Send Recv Triggered RIP Key-chain

Ethernet0/0 2 2

Routing for Networks: Routing Inforaation Sources:

Gateway Distance Last Update

Distance: (default is 120)

W 2003, Cisco Systems, Inc. All rights reserved

The show ip protocols vrf command displays summary information about all routing protocol instances active in the specified VRF. The fields displayed by this command are shown in the following table.




Displays the IP address of the router identifier for all routers in the network.


Displays the metric used to access the destination route.

Last Update

Displays the last time that the routing table was updated from the source.

Monitoring VRF Routing (Cont.)

show ip route vrf

Router#show ip route vrf SiteA2

Codes: C - connected, S - static, I - IGRP, R - RIP, H - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, Iß - OSPF inter area

HI - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

El - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2,

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

O [110/782] via, 02:52:13, Seriall/0.20 is subnetted, 1 subnets

O [110/782] via, 02:52:13, Serial1/0.20 is subnetted, 1 subnets

B [200/1] via, 01:14:32

B [200/782] via, 02:05:38

B [200/1] via, 02:05:38

B [200/1] via, 01:14:32

> rest deleted >

«20«, Ctaco Systems, Inc. All rights reserve! MPLS V2.0 —W0

The show ip route vrf command displays the contents of the VRF IP routing table in the same format used by the show ip route command.

Monitoring VRF Routing (Cont.) show ip bgp vpnv4 vrf neighbors external link

Router#show ip bgp vpnv4 vrf SiteB neighbors BGP neighbor is, vrf SiteB, remote AS 65032, BGP version 4, remote router ID BGP state - Established, up for 02:01:41

Last read 00:00:56, hold ttae is 180, keepalive interval is 60 seconds Neighbor capabilities:

Route refresh: advertised and received Address family IPv4 Unicast: advertised and received Received 549 messages, 0 notifications, 0 in queue Sent 646 messages, 0 notifications, 0 in queue Route refresh request: received 0, sent 0 Minimum time between advertisement runs is 30 seconds

For address family: VPNv4 Unicast Translates address family IPv4 Unicast for VRF SiteB BGP table version 416, neighbor version 416 Index 4, Offset 0, Mask 0x10 Community attribute sent to this neighbor 2 accepted prefixes consume 120 bytes Prefix advertised 107, suppressed 0, withdrawn 63

W 2003, Cisco Systems, Inc. All rl^ts reserved

Was this article helpful?

+2 0

Post a comment