- Cisco BGP Overview
- BGP 4
- BGP NSF Awareness
- BGP Neighbor Policy
- BGP Route-Map Continue
- BGP Route-Map Continue Support for Outbound Policy
- IPv6 Routing: Multiprotocol BGP Extensions for IPv6
- IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
- BGP Restart Neighbor Session After Max-Prefix Limit Reached
- BGP 4 Soft Configuration
- BGP Soft Reset
- BGP Named Community Lists
- BGP 4 Prefix Filter and Inbound Route Maps
- BGP Prefix-Based Outbound Route Filtering
- Finding Feature Information
- Information About IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
- How to Configure IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
- Configuration Examples for IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
- Additional References
- Feature Information for IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
IPv6 Multiprotocol BGP Peering Using a Link-Local Address
The IPv6 multiprotocol BGP can be configured between two IPv6 devices (peers) using link-local addresses. For this function to work, you must identify the interface for the neighbor by using the neighbor update-source command, and you must configure a route map to set an IPv6 global next hop.
Boarder Gateway Protocol (BGP) uses third-party next hops for peering with multiple peers over IPv6 link-local addresses on the same interface. Peering over link-local addresses on different interfaces cannot use third party next hops. The neighbors peering using link-local addresses are split into one update group per interface. BGP splits update group membership for neighbors with link-local addresses based on the interface used to communicate with that neighbor.
How to Configure IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
Configuring an IPv6 Multiprotocol BGP Peer Using a Link-Local Address
Configuring IPv6 multiprotocol BGP between two IPv6 devices (peers) using link-local addresses requires that you identify the interface for the neighbor by using the neighbor update-source command and that a you configure a route map to set an IPv6 global next hop.
1.
enable
2.
configure
terminal
3.
router
bgp
autonomous-system-number
4.
neighbor
{ip-address |
ipv6-address
[%]
peer-group}
5.
neighbor
{ip-address |
ipv6-address
[%] |
peer-group-name}
remote-as
autonomous-system-number [alternate-as
autonomous-system-number ...]
6.
neighbor
{ip-address |
ipv6-address
[%] |
peer-group-name}
update-source
interface-type
interface-number
7.
address-family
ipv6
[vrf
vrf-name]
[unicast |
multicast |
vpnv6]
8.
neighbor
{ip-address |
peer-group-name |
ipv6-address
%}
activate
9.
neighbor
{ip-address |
peer-group-name |
ipv6-address
[%]}
route-map
map-name
{in |
out}
10.
exit
11.
exit
12.
route-map
map-tag
[permit |
deny] [sequence-number]
13.
match
ipv6
address
{prefix-list
prefix-list-name |
access-list-name}
14.
set
ipv6
next-hop
ipv6-address
[link-local-address] [peer-address]
15.
exit
16.
end
DETAILED STEPS
Configuration Examples for IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
Example: Configuring an IPv6 Multiprotocol BGP Peer Using a Link-Local Address
The following example configures the IPv6 multiprotocol BGP peer FE80::1234:BFF:FE0E:A471 over Gigabitethernet interface 0/0 and sets the route map named nh6 to include the IPv6 next-hop global address of Gigabitethernet interface 0/0 in BGP updates. The IPv6 next-hop link-local address can be set by the nh6 route map (not shown in the following example) or from the interface specified by the neighbor update-source command (as shown in this example).
Device> enable Device# configure terminal Device(config)# router bgp 5 Device(config-router)# neighbor FE80::1234:BFF:FE0E:A471% peer-group Device(config-router)# neighbor FE80::1234:BFF:FE0E:A471% remote-as 64600 Device(config-router)# neighbor FE80::1234:BFF:FE0E:A471% update-source Gigabitethernet 0/0 Device(config-router)# address-family ipv6 Device(config-router-af)# neighbor FE80::1234:BFF:FE0E:A471% activate Device(config-router-af)# neighbor FE80::1234:BFF:FE0E:A471% route-map nh6 out Device(config-router-af)# exit Device(config-router)# exit Device(config)# route-map nh6 permit 10 Device(config-router-map)# match ipv6 address prefix-list cisco Device(config-router-map)# set ipv6 next-hop 2001:DB8:526::1 Device(config-router-map)# exit Device(config-router)# end ipv6 prefix-list cisco permit 2001:DB8:2F22::/48 le 128 ipv6 prefix-list cisco deny ::/0
Note | If you specify only the global IPv6 next-hop address (the ipv6-address argument) with the set ipv6 next-hop command after specifying the neighbor interface (the interface-type argument) with the neighbor update-source command, the link-local address of the interface specified with the interface-type argument is included as the next hop in the BGP updates. Therefore, only one route map that sets the global IPv6 next-hop address in BGP updates is required for multiple BGP peers that use link-local addresses. |
Additional References
Related Documents
Related Topic |
Document Title |
---|---|
IPv6 addressing and connectivity |
IPv6 Configuration Guide |
Cisco IOS commands |
|
IPv6 commands |
|
Cisco IOS IPv6 features |
Standards and RFCs
Standard/RFC |
Title |
---|---|
RFCs for IPv6 |
MIBs
MIB |
MIBs Link |
---|---|
— |
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
IPv6 Routing: Multiprotocol BGP Link-Local Address Peering |
Cisco IOS XE 3.3SG Cisco IOS XE Release 3.3SE |
IPv6 supports multiprotocol BGP link-local address peering. In Cisco IOS XE Release 3.3SE, support was added for the Cisco Catalyst 3650 Series Switches and Cisco Catalyst 3850 Series Switches. |