[c-nsp] Cisco BGP Running on VRF?

Peter Rathlev peter at rathlev.dk
Wed Oct 1 03:16:41 EDT 2008


Hi Bill,

On Tue, 2008-09-30 at 17:50 -0500, Murphy, William wrote:
> I have a Cat6506 VSS720-3C-XL switch on which I have configured BGP on
> a VRF using  "address-family ipv4 unicast vrf internet".  I am getting
> BGP routes and all appears well but I can only display BGP info by
> using "show ip bgp vpnv4 ..." commands.  I didn't intend to run VPNV4
> and it appears the switch has ignored my address-family ipv4
> statement.  Can someone explain what's going on here?

That command is _the_ way to show the VRFs BGP table. Remember that VRF
comes from the MP-BGP world, and over there belongs under VPNv4. It's
just syntax though, you don't run VPNv4 if you haven't configured the
"address-family vpnv4".

> It also seems like the switch is creating MPLS labels for all my routes
> even though I didn't specifically configure any MPLS or tag switching
> commands.  Any words of wisdom or advice would be appreciated...

Are you sure you don't have any MPLS related commands? On a "clean"
switch i get:

R1# sh mpls ldp bin
TIB not enabled

R1#sh mpls for
Tag switching is not operational.
CEF or tag switching has not been enabled.
No TFIB currently allocated.
R1#

(This is SXD though, which was there. It might be different on newer
software.)

If you have any MPLS command configured, the allocation is expected. The
switch will always allocate labels for anything in the FIB, also is e.g.
no interfaces are configured for MPLS. (That is unless you're lucky and
can use Label Allocation Filtering, http://tinyurl.com/224kv8. On a 6500
you're not at the moment.)

Regards,
Peter




More information about the cisco-nsp mailing list