ADTRAN AOS Version R10.1.0 Command Reference Manual page 2885

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
local-as <value>
Use the local-as command to specify an autonomous system (AS) number for the unit to use when
communicating with this Border Gateway Protocol (BGP) neighbor. This command can be used for BGP
neighbors on either the default or nondefault VPN routing and forwarding (VRF) instances. Use the no
form of this command to return to the default setting.
Syntax Description
<value>
Default Values
By default, the local-as value is set to 0, indicating the router's BGP AS number is used.
Command History
Release 9.3
Release 18.1
Release 18.3
Functional Notes
The local-as command can be used to specify the AS number for the unit to use when communicating with
this BGP neighbor on either the default or nondefault VRF instance. If the neighbor is to be created on a
nondefault VRF instance, the VRF instance must first be created using the command
route-distinguisher on page
the BGP neighbor settings for the VRF instance using the command
router's BGP Configuration mode. For example, to configure the BGP 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)#neighbor 10.20.1.1
(config-bgp-vrf-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.
The local-as command substitutes a different AS number to be used for communicating with this BGP
neighbor (other than the one the router is actually a member of). This can be used to satisfy network
designs requiring a customer to appear as one AS number when communicating with one Internet service
provider (ISP) and another when communicating with another ISP.
60000CRG0-35E
Specifies the AS number to use when communicating with this neighbor.
Must be different than the AS number for this router and the peer router.
Only valid for external Border Gateway Protocol (eBGP) connections.
Range is 0 to 4294967295. When 0 is sued, it indicates that the BGP
process local AS is used, because 0 is not a valid AS number.
Command was introduced.
Command was altered to support 4-byte AS numbers (previously AOS only
supported 2-byte numbers).
Command was incorporated into Multi-VRF BGP functionality.
1460. Once you have created the nondefault VRF instance, you can configure
Copyright © 2012 ADTRAN, Inc.
BGP Neighbor Command Set
vrf <name>
vrf <name> on page 2877
from the
2885

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