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]

Parameter

Description

all

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.

ip-prefix/1ength

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

longer-prefixes

(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.

network-address

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

mask

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

cidr-only

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

community

(Optional) Displays routes matching this community.

community-list

(Optional) Displays routes matching this community list.

dampened-paths

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

filter-list

(Optional) Displays routes conforming to the filter list.

flap-statistics

(Optional) Displays flap statistics of routes.

inconsistent-as

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

neighbors

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

paths

(Optional) Displays path information.

line

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

peer-group

(Optional) Displays information about peer groups.

quo te-regexp

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

regexp

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

summary

(Optional) Displays BGP neighbor status.

tags

(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:

192.168.22.0 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.

Field

Description

Gateway

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

Distance

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 203.1.20.0/24 [110/782] via 150.1.31.38, 02:52:13, Seriall/0.20

203.1.2.0/32 is subnetted, 1 subnets

O 203.1.2.1 [110/782] via 150.1.31.38, 02:52:13, Serial1/0.20

203.1.1.0/32 is subnetted, 1 subnets

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

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

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

B 203.1.10.0/24 [200/1] via 192.168.3.103, 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 150.1.32.34, vrf SiteB, remote AS 65032, BGP version 4, remote router ID 203.2.10.1 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