
Multiprotocol BGP for IPv6
explains how BGP provides support for IPv6 routing and configuration.
MP-BGP enables BGP to carry NLRI for multiple protocols, such as IPv4, IPv6, and Multiprotocol Label Switching (MPLS) Layer 3 virtual private networks (L3VPNs).
MP-BGP
RFC 4760 defines the following new features:
- A new address family identifier (AFI) model
- New BGPv4 optional and nontransitive attributes:
- Multiprotocol reachable NLRI
- Multiprotocol unreachable NLRI
- All the same underlying IPv4 path vector routing protocol features and rules also apply to MP-BGP for IPv6.
- MP-BGP for IPv6 continues to use the same well-known TCP port 179 for session peering as BGP uses for IPv4.
- The MP-BGP extensions include an address family identifier (AFI) that describes the supported protocols, along with subsequent address family identifier (SAFI) attribute fields that describe whether the prefix applies to the unicast or multicast routing table:
- IPv4 unicast: AFI: 1, SAFI: 1
- IPv6 unicast: AFI: 2, SAFI: 1
Configuring IPv6 BGP
All the BGP configuration rules demonstrated earlier apply with IPv6, except that the IPv6 address family must be initialized, and the neighbor is activated.
Viewing BGP IPv6 Neighbors
- Routers exchange AFI capabilities during the initial BGP session negotiation.
- The command show bgp ipv6 unicast neighbors ip-address [detail] displays detailed information on whether or not the IPv6 capabilities were negotiated successfully.
Verifying IPv6 BGP
Viewing the IPv6 BGP Tables
The unspecified address (::) indicates that the local router is generating the prefix for the BGP table.
IPv6 Route Summarization
The same process for summarizing or aggregating IPv4 routes occurs with IPv6 routes, and the format is identical except that the configuration is placed under the IPv6 address family using the command aggregate-address prefix/prefix-length [summary-only] [as-set].
Bits Needed | Summary Address | Component Networks |
2 | 2001:db8:0:0::/62 | 2001:db8:0:0::/64 through 2001:db8:0:3::/64 |
3 | 2001:db8:0:0::/61 | 2001:db8:0:0::/64 through 2001:db8:0:7::/64 |
4 | 2001:db8:0:0::/60 | 2001:db8:0:0::/64 through 2001:db8:0:F::/64 |
5 | 2001:db8:0:0::/59 | 2001:db8:0:0::/64 through 2001:db8:0:1F::/64 |
6 | 2001:db8:0:0::/58 | 2001:db8:0:0::/64 through 2001:db8:0:3F::/64 |
Other useful information: