Configure a BGP Peer with MP-BGP for IPv4 or IPv6 Unicast
Focus
Focus

Configure a BGP Peer with MP-BGP for IPv4 or IPv6 Unicast

Table of Contents
End-of-Life (EoL)

Configure a BGP Peer with MP-BGP for IPv4 or IPv6 Unicast

After you Configure BGP, configure a BGP peer with MP-BGP for IPv4 or IPv6 unicast for either of the following reasons:
  • To have your BGP peer carry IPv6 unicast routes, configure MP-BGP with the Address Family Type of IPv6 and Subsequent Address Family of Unicast so that the peer can send BGP updates that include IPv6 unicast routes. BGP peering (Local Address and Peer Address) can still both be IPv4 addresses, or they can both be IPv6 addresses.
  • To perform BGP peering over IPv6 addresses (Local Address and Peer Address use IPv6 addresses).
The following task shows how to enable a BGP peer with MP-BGP so it can carry IPv6 unicast routes, and so it can peer using IPv6 addresses.
The task also shows how to view the unicast or multicast route tables, and how to view the forwarding table, the BGP local RIB, and BGP RIB Out (routes sent to neighbors) to see routes from the unicast or multicast route table or a specific address family (IPv4 or IPv6).
  1. Enable MP-BGP Extensions for a peer.
    Configure the following so that a BGP peer can carry IPv4 or IPv6 unicast routes in Updates packets and the firewall can use IPv4 or IPv6 addresses to communicate with its peer.
    1. Select NetworkVirtual Routers and select the virtual router you are configuring.
    2. Select BGP.
    3. Select Peer Group and select a peer group.
    4. Select a BGP peer (router).
    5. Select Addressing.
    6. Select Enable MP-BGP Extensions for the peer.
    7. For Address Family Type, select IPv4 or IPv6. For example, select IPv6.
    8. For Subsequent Address Family, Unicast is selected. If you chose IPv4 for the Address Family, you can select Multicast also.
    9. For Local Address, select an Interface and optionally select an IP address, for example, 2001:DB8:55::/32
    10. For Peer Address, enter the peer’s IP address, using the same address family (IPv4 or IPv6) as the Local Address, for example, 2001:DB8:58::/32.
    11. Select Advanced.
    12. (Optional) Enable Sender Side Loop Detection. When you enable Sender Side Loop Detection, the firewall will check the AS_PATH attribute of a route in its FIB before it sends the route in an update, to ensure that the peer AS number is not on the AS_PATH list. If it is, the firewall removes it to prevent a loop
    13. Click OK.
  2. (Optional) Create a static route and install it in the unicast route table because you want the route to be used only for unicast purposes.
    1. Select NetworkVirtual Routers and select the virtual router you are configuring.
    2. Select Static Routes, select IPv4 or IPv6, and Add a route.
    3. Enter a Name for the static route.
    4. Enter the IPv4 or IPv6 Destination prefix and netmask, depending on whether you chose IPv4 or IPv6.
    5. Select the egress Interface.
    6. Select the Next Hop as IPv6 Address (or IP Address if you chose IPv4) and enter the address of the next hop to which you want to direct unicast traffic for this static route.
    7. Enter an Admin Distance.
    8. Enter a Metric.
    9. For Route Table, select Unicast.
    10. Click OK.
  3. Commit the configuration.
    Click Commit.
  4. View the unicast or multicast route table.
    1. Select NetworkVirtual Routers.
    2. In the row for the virtual router, click More Runtime Stats.
    3. Select RoutingRoute Table.
    4. For Route Table, select Unicast or Multicast to display only those routes.
    5. For Display Address Family, select IPv4 Only, IPv6 Only, or IPv4 and IPv6 to display only routes for that address family.
      Selecting Multicast with IPv6 Only is not supported.
  5. View the Forwarding Table.
    1. Select NetworkVirtual Routers.
    2. In the row for the virtual router, click More Runtime Stats.
    3. Select RoutingForwarding Table.
    4. For Display Address Family, select IPv4 Only, IPv6 Only, or IPv4 and IPv6 to display only routes for that address family.
  6. View the BGP RIB tables.
    1. View the BGP Local RIB, which shows the BGP routes that the firewall uses to route BGP packets.
      1. Select NetworkVirtual Routers.
      2. In the row for the virtual router, click More Runtime Stats.
      3. Select BGPLocal RIB.
      4. For Route Table, select Unicast or Multicast to display only those routes.
      5. For Display Address Family, select IPv4 Only, IPv6 Only, or IPv4 and IPv6 to display only routes for that address family.
        Selecting Multicast with IPv6 Only is not supported.
    2. View the BGP RIB Out table, which shows the routes that the firewall sends to BGP neighbors.
      1. Select NetworkVirtual Routers.
      2. In the row for the virtual router, click More Runtime Stats.
      3. Select BGPRIB Out.
      4. For Route Table, select Unicast or Multicast to display only those routes.
      5. For Display Address Family, select IPv4 Only, IPv6 Only, or IPv4 and IPv6 to display only routes for that address family.
        Selecting Multicast with IPv6 Only is not supported.