![](/images/new-backgrounds/1191620/191620453x1.webp)
BGP and BGP4+ Commands
neighbor local-as (BGP and BGP4+)
Use this command to configure a local AS number for the specified BGP or BGP4+ neighbor. This overrides the local AS number specified by the router bgp (BGP and BGP4+) command on page 3.200.
Use the no variant of this command to remove the local AS number for the specified BGP or BGP4+ neighbor.
Syntax [BGP/BGP4+] neighbor <neighborid>
no neighbor <neighborid>
Parameter Description
<neighborid> {<ip-address><ipv6-addr><peer-group>}
Mode [BGP] Router Configuration or IPv4 Address Family Configuration for a VRF instance
Mode [BGP4+] Router Configuration
Usage
Usage [BGP4+] When BGP4+ is configured, this command prepends the ASN as defined by the router bgp (BGP and BGP4+) command, and adds the ASN as defined by the neighbor
Examples [BGP]
awplus# configure terminal
awplus(config)# router bgp 10
awplus(config-router)# neighbor 10.10.0.34 local-as 1
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
AlliedWare PlusTM Operating System - Software Version | 3.129 |