- Cisco BGP Overview
- BGP 4
- Configuring a Basic BGP Network
- BGP 4 Soft Configuration
- BGP Support for 4-byte ASN
- Connecting to a Service Provider Using External BGP
- BGP Prefix-Based Outbound Route Filtering
- BGP Route-Map Continue
- BGP Route-Map Continue Support for Outbound Policy
- Removing Private AS Numbers from the AS Path in BGP
- Configuring BGP Neighbor Session Options
- BGP Neighbor Policy
- BGP Dynamic Neighbors
- BGP Support for Next-Hop Address Tracking
- BGP Restart Neighbor Session After Max-Prefix Limit Reached
- BGP Support for Dual AS Configuration for Network AS Migrations
- Configuring Internal BGP Features
- BGP VPLS Auto Discovery Support on Route Reflector
- BGP FlowSpec Route-reflector Support
- BGP Support for BFD
- IPv6 Routing: Multiprotocol BGP Extensions for IPv6
- IPv6 Multicast Address Family Support for Multiprotocol BGP
- IPv6 Routing: Multiprotocol BGP Link-Local Address Peering
- IPv6 NSF and Graceful Restart for MP-BGP IPv6 Address Family
- BGP NSF Awareness
- BGP Graceful Restart per Neighbor
- Configuring Multiprotocol BGP (MP-BGP) Support for CLNS
- BGP Link Bandwidth
- iBGP Multipath Load Sharing
- BGP Multipath Load Sharing for Both eBGP and iBGP in an MPLS-VPN
- Loadsharing IP Packets Over More Than Six Parallel Paths
- BGP Policy Accounting
- BGP Policy Accounting Output Interface Accounting
- BGP Cost Community
- Regex Engine Performance Enhancement
- BGP Support for IP Prefix Import from Global Table into a VRF Table
- BGP Support for IP Prefix Export from a VRF Table into the Global Table
- BGP per Neighbor SoO Configuration
- BGP Next Hop Unchanged
- Per-VRF Assignment of BGP Router ID
- BGP Event-Based VPN Import
- BGP Support for the L2VPN Address Family
- Detecting and Mitigating a BGP Slow Peer
- Configuring BGP: RT Constrained Route Distribution
- Configuring BGP Consistency Checker
- BGP—Origin AS Validation
- BGP Support for NSR with SSO
- BGP NSR Auto Sense
- BGP NSR Support for iBGP Peers
- BGP Graceful Shutdown
- BGP — mVPN BGP sAFI 129 - IPv4
- BGP-MVPN SAFI 129 IPv6
- BGP Attribute Filter and Enhanced Attribute Error Handling
- BGP Additional Paths
- BGP-RT and VPN Distinguisher Attribute Rewrite Wildcard
- BGP—Selective Route Download
- BFD—BGP Multihop Client Support, cBit (IPv4 and IPv6), and Strict Mode
- BGP MIB Support
- BGP 4 MIB Support for per-Peer Received Routes
- BGP PIC Edge for IP and MPLS-VPN
- BGP IPv6 PIC Edge and Core for IP/MPLS
- BGP Unified MPLS iBGP Client
- Cisco-BGP-MIBv2
- BGP Diverse Path Using a Diverse-Path Route Reflector
- BGP-VRF-Aware Conditional Advertisement
- BGP—Support for iBGP Local-AS
- IOS-XE IBGP local-as dual-as
- VPLS BGP Signaling
- BGP NSR Support for MPLS VPNv4 and VPNv6 Inter-AS Option B
- L3VPN iBGP PE-CE
- eiBGP Multipath for Non-VRF Interfaces (IPv4/IPv6)
- BGP-RTC for Legacy PE
- BGP PBB EVPN Route Reflector Support
- BGP Monitoring Protocol
- VRF Aware BGP Translate-Update
- BGP Support for MTR
- BGP Accumulated IGP
- Restrictions for IOS-XE IBGP local-as dual-as
- Information About IOS-XE IBGP local-as dual-as
- How to Configure IOS-XE IBGP local-as dual-as
- Configuration Examples for IOS-XE IBGP local-as dual-as
- Additional References for IOS-XE IBGP local-as dual-as
- Feature Information for IOS-XE IBGP local-as dual-as
IOS-XE IBGP
local-as dual-as
The IOS-XE IBGP local-as dual-as feature establishes an iBGP session using either the locally configured ASN or globally configured ASN. This feature allows migrating the global Autonomous System Number (ASN) of different BGP speakers that belong to the same Autonomous System (AS), while maintaining their iBGP session, and configuring one speaker at a time.
- Restrictions for IOS-XE IBGP local-as dual-as
- Information About IOS-XE IBGP local-as dual-as
- How to Configure IOS-XE IBGP local-as dual-as
- Configuration Examples for IOS-XE IBGP local-as dual-as
- Additional References for IOS-XE IBGP local-as dual-as
- Feature Information for IOS-XE IBGP local-as dual-as
Restrictions for IOS-XE IBGP local-as dual-as
Information About IOS-XE IBGP local-as dual-as
IOS-XE IBGP local-as dual-as
The IOS-XE IBGP local-as dual-as feature allows an internal Border Gateway Protocol (iBGP) speaker to establish an iBGP session using either the locally configured ASN or globally configured ASN. This feature allows for a gradual and less service-impacting migration from the globally configured legacy ASN to the new globally configured ASN. IOS-XE iBGP local-as dual-as feature permits the coexistence of the legacy and new ASN in a network, allowing for uniform BGP path selection among all routers within the network.
The behavior of the system configured with this feature depends on whether the TCP session is active or passive. For TCP active session, the ASN sent in the BGP OPEN message alternates between globally configured ASN and locally configured ASN. For TCP passive session, the system responds with the same ASN (either globally configured ASN or locally configured ASN) received in the BGP OPEN message. In both the cases, the iBGP session is established only if the two ASNs involved in TCP negotiation are the same.
Use the dual-as keyword in the neighbor command interface to configure this feature. dual-as keyword can be used without the optional keywords no-prepend replace-as. Remote-AS and local-AS can be configured to be the same.
How to Configure IOS-XE IBGP local-as dual-as
Configuring IOS-XE IBGP local-as dual-as
Note
The IOS-XE
IBGP local-as dual-as feature gets enabled if
remote-as and
local-as
are the same.
1.
enable
2.
configure
terminal
3.
router
bgp
autonomous-system-number
4.
neighbor
ip-address
remote-as
autonomous-system-number
5.
neighbor
ip-address
local-as
autonomous-system-number
dual-as
6.
end
7. show ip bgp neighbors [neighbor-address] [received-routes | routes | advertised-routes | paths regexp | dampened-routes | received prefix-filter]
DETAILED STEPS
Example
The configuration of the IOS-XE IBGP local-as dual-as feature can be verified with the show ip bgp neighbors command. In the following examples, the configuration value used for global-AS is 100 and local-AS is 200.
The following is sample output from the show ip bgp neighbors command, when peering is established with global-AS.
Device# show ip bgp neighbors 10.0.0.1 BGP neighbor is 10.0.0.1, remote AS 200, local AS 200 dual-as using our real AS, internal link BGP version 4, remote router ID 1.1.1.1 BGP state = Established, up for 00:00:26 Last read 00:00:26, last write 00:00:26, hold time is 180, keepalive interval is 60 seconds
The following is sample output from the show ip bgp neighbors command, when peering is established with local-AS.
Device# show ip bgp neighbors 10.0.0.1 BGP neighbor is 10.0.0.1, remote AS 200, local AS 200 dual-as using our local AS, internal link BGP version 4, remote router ID 1.1.1.1 BGP state = Established, up for 00:00:09 Last read 00:00:08, last write 00:00:09, hold time is 180, keepalive interval is 60 seconds
Configuration Examples for IOS-XE IBGP local-as dual-as
Example: Configuring IOS-XE IBGP local-as dual-as
The following example shows how to migrate the global ASN of each peer in an AS (one peer at a time), without interrupting the peering arrangements.
Router 1 Initial Configuration
router bgp 100 neighbor 10.0.0.1 remote-as 100
router bgp 100 neighbor 10.0.0.2 remote-as 100
router bgp 100 neighbor 10.0.0.1 remote-as 200 neighbor 10.0.0.1 local-as 200 dual-as
After the configuration, session is established with ASN 100.
router bgp 100 neighbor 10.0.0.2 remote-as 200 neighbor 10.0.0.2 local-as 200 dual-as
After the configuration, session is established with either ASN 100 or ASN 200.
router bgp 200 neighbor 10.0.0.2 remote-as 200
After the configuration, session is established with ASN 200.
router bgp 200 neighbor 10.0.0.2 remote-as 200
After the configuration, session is still established with ASN 200.
Additional References for IOS-XE IBGP local-as dual-as
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
BGP commands |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation 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 IOS-XE IBGP local-as dual-as
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 |
---|---|---|
IOS-XE IBGP local-as dual-as |
Cisco IOS XE Release 15.6(1)S |
The IOS-XE IBGP local-as dual-as feature establishes an iBGP session using either the locally configured ASN or globally configured ASN. This feature allows migrating the global Autonomous System Number (ASN) of different BGP speakers that belong to the same Autonomous System (AS), while maintaining their iBGP session, and configuring one speaker at a time. The following commands were introduced or modified: neighbor, show ip bgp neighbor |