ADTRAN AOS Version R10.1.0 Command Reference Manual page 2925

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
next-hop-self
Use the next-hop-self command to force the NEXT_HOP attribute to be changed to this unit's IP address
for each network it advertises to the Internet Protocol version 4 (IPv4) or Internet Protocol version 6 (IPv6)
BGP address family (AF) neighbor on either the default or nondefault VPN routing and forwarding (VRF)
instance. Use the no form of this command to return to the default setting.
Syntax Description
No subcommands.
Default Values
By default, this command is disabled and the next autonomous system (AS) is advertised as the
NEXT_HOP attribute.
Command History
Release 9.3
Release 18.3
Release R10.1.0
Functional Notes
The next-hop-self command can be used to specify the IPv4 address used by a BGP AF neighbor on
either the default or nondefault VRF instance. If the AF neighbor is to be created on a nondefault VRF
instance, the VRF instance must first be created using the command
page
1460. Once you have created the nondefault VRF instance, you can configure the BGP AF neighbor
settings for the VRF instance using the command
Configuration mode. For example, to configure the IPv4 BGP AF neighbor characteristics for the
nondefault VRF instance RED1, enter the following commands:
(config)#vrf RED1 route-distinguisher ip 192.17.250.24:33
(config)#router bgp 100
(config-bgp)#vrf RED1
(config-bgp-vrf)#address-family ipv4
(config-bgp-vrf-ipv4)#neighbor 10.20.1.1
(config-bgp-vrf-ipv4-neighbor)#
For more information about VRF and Multi-VRF BGP configuration, refer to the configuration guides
Configuring IPv4 Multi-VRF in AOS (article number 2156) and Configuring BGP in AOS for Releases
18.03.00/R10.1.0 or Later (article number 3524) available online at https://supportforums.adtran.com.
Internal Gateway Protocols (IGPs), such as Routing Information Protocol (RIP) and Open Shortest Path
First (OSPF), always use the source IP address of a routing update as the next-hop address for each
network that is placed in the routing table. Conversely, since BGP routes AS-to-AS, the default next hop
that is advertised is the next AS. This behavior can present a problem in situations where an internal
Border Gateway Protocol (iBGP) router learns about networks outside of its AS through one of its iBGP
peers. By default, the next-hop address for the external networks advertised to the iBGP router is the entry
60000CRG0-35E
Command was introduced.
Command was incorporated into Multi-VRF BGP functionality.
Command was expanded to include IPv6 functionality.
vrf <name> on page 2877
Copyright © 2012 ADTRAN, Inc.
BGP AF Neighbor Command Set
vrf <name> route-distinguisher on
from the router's BGP
2925

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents