[Contents] [Prev] [Next] [Index] [Report an Error]


Configuring BGP Multicasting

The BGP multiprotocol extensions (MP-BGP) enable BGP to carry IP multicast routes used by the Protocol Independent Multicast (PIM) to build data distribution trees (see ERX Routing Protocols Configuration Guide, Vol. 1, Chapter 3, Configuring IP Multicasting for information on PIM). You can configure a multicast routing topology different from your unicast topology to achieve greater control over network resources. This application of MP-BGP is often referred to as multicast BGP (MBGP).

The BGP multiprotocol extensions specify that BGP can exchange information within different types of address families:

As discussed in Understanding BGP Command Scope (p 1-15), BGP configuration commands fall into five categories. If you specify the multicast address family, from within the Address Family Configuration mode you can issue the commands listed in Table 1-4 to configure parameters that affect the multicast address family globally. You can issue the commands listed in Table 1-6 to configure a peer or peer group that you have activated in the multicast address family without affecting those configuration parameters for any other address family within which the peer or peer group is activated.

If you issue any of the commands listed in Table 1-5 from within the default IPv4 unicast address family to configure a peer or peer group, you can apply those configuration values to the same entity in the multicast address family by activating the peer or peer group in the multicast address family.

Example

To add a peer to the multicast routing table, first add the peer to the unicast routing table, and then copy it to the multicast routing table.

host1(config)#router bgp 22
host1(config-router)#neighbor 192.168.55.122 remote-as 33
host1(config-router)#address-family ipv4 multicast
host1(config-router-af)neighbor 192.168.55.122 activate

    address-family

host1:vr1(config-router)#address-family ipv4 multicast
host1:vr1(config-router)#address-family vpnv4 
host1:vr1(config-router)#address-family ipv4 unicast vrf vr2

    exit-address-family

host1:vr1(config-router-af)#exit-address-family

    neighbor activate

host1:vr1(config-router-af)#neighbor 192.168.1.158 activate

If dynamic capability negotiation was negotiated with the peer, BGP sends a capability message to the peer to advertise or withdraw the multiprotocol capability for the address family in which this command is issued. If a neighbor is activated, BGP also sends the full contents of the BGP RIB of the newly activated address family.

Monitoring BGP Multicast Services

To display values from the BGP multicast routing table, use the show BGP commands with the ipv4 multicast keyword. For more information about displaying BGP parameters, see Monitoring BGP in this chapter.


[Contents] [Prev] [Next] [Index] [Report an Error]