Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

view vpnv4 prefix and ip prefix

Hi there,

Normally, we use the command such as "sh ip bgp vpnv4 all" "sh ip route vrf" and etc to determine the prefix path.May I know what command in cisco devices that actually reflect vpnv4 prefix and IP prefix? Sound like a stupid question but I just want to confirm.

Thanks in advance.

maher

1 REPLY
New Member

Re: view vpnv4 prefix and ip prefix

You are right about the command

show ip bgp vpnv4 ip-prefix

For more information on how the Routes are distinguished and the use of BGP extended communities (route targets)

Check the below URL (scroll down to the image 7-4 VPN-IP Address Format for a graphic explanation)

http://www.cisco.com/en/US/products/sw/ps2346/ps99/products_configuration_guide_chapter09186a00800ee111.html

an example

Router# show ip bgp vpnv4 all 10.22.22.0

BGP routing table entry for 10:1:22.22.22.0/24, version 19

Paths:(5 available, best #5)

Multipath:eiBGP

Advertised to non peer-group peers:

10.0.0.2 10.0.0.3 10.0.0.4 10.0.0.5

22

10.0.0.2 (metric 20) from 10.0.0.4 (10.0.0.4)

Origin IGP, metric 0, localpref 100, valid, internal, multipath

Extended Community:0x0:0:0 RT:100:1 0x0:0:0

Originator:10.0.0.2, Cluster list:10.0.0.4

257
Views
3
Helpful
1
Replies
CreatePlease login to create content