- 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-name}
peer-group
5.
neighbor
{ip-address |
ipv6-address
[%]
peer-group}
6.
neighbor
{ip-address
|
ipv6-address %|
peer-group-name}
remote-as
autonomous-system-number [
alternate-as
autonomous-system-number...]
7.
neighbor
{ip-address |
ipv6-address
[%] |
peer-group-name}
remote-as
autonomous-system-number [alternate-as
autonomous-system-number ...]
8.
neighbor
{ip-address |
ipv6-address
[%] |
peer-group-name}
update-source
interface-type
interface-number
9.
address-family
ipv6
[vrf
vrf-name]
[unicast |
multicast |
vpnv6]
10.
neighbor
{ip-address |
peer-group-name |
ipv6-address
%}
activate
11.
neighbor
{ip-address |
peer-group-name |
ipv6-address
[%]}
route-map
map-name
{in |
out}
12.
exit
13.
exit
14.
route-map
map-tag
[permit |
deny] [sequence-number]
15.
match
ipv6
address
{prefix-list
prefix-list-name |
access-list-name}
16.
set
ipv6
next-hop
ipv6-address
[link-local-address] [peer-address]
17.
exit
18.
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 internal peer-group Device(config-router)# neighbor FE80::1234:BFF:FE0E:A471% peer-group Device(config-router)# neighbor internal remote-as 100 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 nh6permit 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)# ipv6 prefix-list cisco permit 2001:DB8:2F22::/48 le 128 Device(config)# ipv6 prefix-list cisco deny ::/0 Device(config)# end
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. |