Networking-Forums.com

Professional Discussions => Routing and Switching => Topic started by: sergeyrar on April 17, 2015, 12:48:14 PM

Title: Technical difference between two bgp show commands
Post by: sergeyrar on April 17, 2015, 12:48:14 PM
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,

Title: Re: Technical difference between two show commands
Post by: that1guy15 on April 17, 2015, 12:54:22 PM
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.
Title: Re: Technical difference between two bgp show commands
Post by: sergeyrar on April 17, 2015, 01:09:09 PM
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?



Title: Re: Technical difference between two bgp show commands
Post by: that1guy15 on April 17, 2015, 02:46:25 PM
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.
Title: Re: Technical difference between two bgp show commands
Post by: sergeyrar on April 17, 2015, 04:01:26 PM
Cool
Thanks