Technical difference between two bgp show commands

Started by sergeyrar, April 17, 2015, 12:48:14 PM

Previous topic - Next topic

sergeyrar

Does anyone know the technical difference between :


show bgp vpnv4 unicast vrf X

and

show bgp vrf X





Cisco IOS version 15.2(4)M1


Thanks,


that1guy15

Ill give this a shot...

show bgp vpnv4 unicast vrf X:

Shows vrf prefixes for that specific vrf in relation to vpnv4 peering within an MPLS VPN environment. Remove the vrf option and you get all vrfs and prefixes advertised between vpnv4 peers.


show bgp vrf X

Just specific to bgp prefixes for the vrf.
That1guy15
@that1guy_15
blog.movingonesandzeros.net

sergeyrar

Thanks for your reply!

I think I got this now...

"show bgp vrf X" shows prefixes from IPv4 AF neighbors formed on vrf X.

where as "show bgp vpnv4 unicast vrf X" shows prefixes learned from VPNv4 neighbors.

And eventually, all these routes are populated to the same IPv4 FIB under vrf X....  :think:

Or am I wrong?




that1guy15

yep. to test set up the vrf and bgp for the vrf but no vpnv4 peering. then run both commands.

then setup a vpnv4 peer and run them again.

this should show the difference.
That1guy15
@that1guy_15
blog.movingonesandzeros.net