Allied Telesis VERSION 5.4.3-2.6, BGP4 manual Neighbor remove-private-AS BGP, Tag

Models: BGP4 VERSION 5.4.3-2.6

1 350
Download 350 pages 8.81 Kb
Page 253
Image 253

BGP and BGP4+ Commands

neighbor remove-private-AS (BGP)

Use this command to remove the private Autonomous System (AS) number from external outbound updates. Use the no variant of this command to revert to the default (disabled).

Syntax neighbor <neighborid> remove-private-AS

no neighbor <neighborid> remove-private-AS

Parameter Description

<neighborid> {<ip-address><tag>}

 

<ip-address>

The address of an IPv4 BGP neighbor, in dotted

 

 

decimal notation A.B.C.D.

 

 

 

 

<tag>

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 remote-as (BGP and BGP4+)

 

 

command on page 3.152. When this parameter

 

 

is used with a command, the command applies

 

 

on all peers in the specified group.

 

 

 

Default This command is disabled by default.

Mode BGP Router Configuration or BGP Router Address Family Configuration for a VRF instance

Usage The private AS numbers range from <64512-65535>. Private AS numbers are not advertised to the Internet. This command is used with external BGP peers only. The router removes the AS numbers only if the update includes private AS numbers. If the update includes both private and public AS numbers, the system treats it as an error.

This command removes private AS numbers for BGP in Router Configuration mode. This command is not supported for BGP4+ in IPv6 Address Family Configuration mode. This command removes a private AS number and makes an update packet with a public AS number as the AS path attribute. So only public AS numbers are entered in Internet BGP routing tables, and private AS numbers are not entered in Internet BGP tables.

For the filtering to apply, both peering devices must be set to use either 2-byte or extended 4- byte ASN (with the same ASN type set on both peers). For example, if a device (which defaults to use a 4-byte ASN), is peered with a device that defaults to a 2-byte ASN, then the device using a 2-byte ASN device also needs to be configured with the command bgp extended-asn-capfor the filtering to apply.

See the How to remove private AS numbers for BGP section in the BGP and BGP4+ Introduction chapter for further information about removing private AS numbers.

Examples

awplus# configure terminal

awplus(config)# router bgp 10

awplus(config-router)#neighbor 10.10.0.63 remove-private-AS

 

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.155

Page 253
Image 253
Allied Telesis VERSION 5.4.3-2.6, BGP4 manual Neighbor remove-private-AS BGP, Neighborid ip-addresstag Ip-address, Tag