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> local-as <as-number>

no neighbor <neighborid> local-as <as-number>

Parameter Description

<neighborid> {<ip-address><ipv6-addr><peer-group>}

<ip-address>The address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D.

<ipv6-addr>The address of an IPv6 BGP4+ neighbor, entered in hexadecimal in the format X:X::X:X.

<peer-group>Enter the name of an existing peer-group. For information on how to create peer groups, refer to the neighbor peer-group (add a neighbor) (BGP and BGP+) and neighbor route-map (BGP and BGP4+) commands. When this parameter is used with this command, the command applies on all peers in the specified group.

<as-number><1-4294967295>Neighbor’s Autonomous System (AS) number.

Mode [BGP] Router Configuration or IPv4 Address Family Configuration for a VRF instance

Mode [BGP4+] Router Configuration

Usage [VRF-Lite]When VRF-Lite is configured, this command allows internal BGP loopback connections between named VRFs and the default global routing instance to be configured to act as eBGP connections, instead of only iBGP.

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 local-as (BGP and BGP4+) command in front of the actual ASN as defined by the router bgp (BGP and BGP4+) command. This makes the peer believe it is peering with the ASN as defined by the neighbor local-as (BGP and BGP4+) command.

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

 

C613-50032-01 REV D

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

3.129

Page 227
Image 227
Allied Telesis VERSION 5.4.3-2.6 manual Neighbor local-as BGP and BGP4+, Awplusconfig-router#neighbor 10.10.0.34 local-as