BGP and BGP4+ Commands

neighbor allowas-in (BGP and BGP4+)

Use this command to accept an AS_PATH with the specified Autonomous System (AS) number from inbound updates for both BGP and BGP4+ routes.

This command allows BGP and BGP4+ to accept prefixes with the same ASN in the

AS_PATH attribute. This command allows BGP and BGP4+ to accept up to 10 instances, configured by the <occurrences> placeholder, of its own AN in the AS_PATH for a prefix.

Use the no variant of this command to revert to default functionality (disabled by default).

Syntax [BGP/BGP4+] neighbor <neighborid> allowas-in <occurrences>

no neighbor <neighborid> allowas-in

Parameter Description

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

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

<ipv6-addr>Specify 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+) command on page 3.144, and neighbor route-map (BGP and BGP4+) command on page 3.159. When this parameter is used with this command, the command applies on all peers in the specified group.

<occurrences> <1-10> Specifies the number of occurrences of the AS number.

Default [BGP/BGP4+] Disabled

Mode [BGP] Router Configuration or IPv4 Address Family Configuration

Mode [BGP4+] IPv6 Address Family Configuration

Usage [BGP/BGP4+] Use this command to configure PE (Provider Edge) routers to allow re-advertisement of all prefixes containing duplicate Autonomous System Numbers (ASNs). In a hub and spoke configuration, a PE router re-advertises all prefixes containing duplicate ASNs. Specify the remote-as or peer-group first using the related commands. The command allows a receiving peer to accept prefixes with its own AN in the AS_PATH, up the maximum number of instances, as configured by the <occurrences> placeholder.

Examples [BGP]

awplus# configure terminal

awplus(config)# router bgp 10

awplus(config-router)#neighbor 10.10.0.1 allowas-in 3

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

3.88

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

C613-50032-01 REV D

Page 186
Image 186
Allied Telesis VERSION 5.4.3-2.6 Neighbor allowas-in BGP and BGP4+, Awplusconfig-router#neighbor 10.10.0.1 allowas-in