PREV NEXT INDEX

Avici Systems Inc.


neighbor remove-private-as


Provides the removal of private autonomous system numbers for a specified peer or peer group for this EBGP neighbor.

Syntax: neighbor {peer | peer-group} remove-private-as

no neighbor {peer | peer-group} remove-private-as

peer

Specifies the IP address of the peer for which private AS numbers should be removed.

peer-group

Specifies the peer group for which private AS numbers should be removed.

Description: When an autonomous system provides BGP to a single provider, and the routing policy will not be visible to the internet, private autonomous system numbers are used in order to conserve public autonomous system numbers. Private AS numbers are in the range 64512 - 65535. When BGP advertises prefixes to external neighbors, these private AS numbers should be removed. IPriori provides for external BGP neighbors to identify individual peers and peer groups for the removal of private AS numbers.

Use the neighbor remove-private-as command in router configuration command mode to identify peers and peer groups for which the private AS numbers should be removed for this EBGP neighbor.

Use the no neighbor remove-private-as command in router configuration command mode to disable removal of private AS numbers for specified peers or peer groups for this EBGP neighbor.

The following behaviors apply to the neighbor remove-private-as command:

Factory Default: None.

Command Mode: Router configuration.

Example 1: The following example enters AS 200 and configures a peer and peer group to remove private AS numbers:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#router bgp 200

router(config-router)#neighbor techpubs peer-group

router(config-router)#neighbor techpubs remote-as 100

router(config-router)#neighbor techpubs remove-private-as

router(config-router)#neighbor 10.200.83.190 remote-as 300

router(config-router)#neighbor 10.200.83.190 remove-private-as

router(config)#end

router#show ip bgp peer-group techpubs



BGP Peer-group: techpubs remote AS 100

BGP version: 4       State:Administratively down

Route-Reflector-client:False

def orignat: False   ebgp multihop: False

send comm: False     soft reconfig: False

Private AS number removed from outbound updates to this peer-group members

router#show ip bgp neighbor 10.200.83.190



BGP neighbor 10.200.83.190 using remote AS 300

router ID: 0.0.0.0 version: 4

state: Active time: 0:00:00

def orignat: False ebgp multihop: False

n hop self: False route ref client: False

send comm: False soft reconfig: False

hold time: 180 sec keepalive time: 60 sec

advertisement interval: 5 sec

# notf rcvd: 0 # msg rcvd: 0 # updates rcvd: 0

# notf sent: 0 # msg sent: 0 # updates sent: 0

Private AS number removed from outbound updates to this neighbor

.

.

.

router#



Example 2: The following example enters AS 200 and disables private AS number removal from a peer and peer group:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#router bgp 200

router(config-router)#neighbor techpubs peer-group

router(config-router)#neighbor techpubs remote-as 100

router(config-router)#no neighbor techpubs remove-private-as

router(config-router)#neighbor 10.200.83.190 remote-as 300

router(config-router)#no neighbor 10.200.83.190 remove-private-as

router(config)#end

router#show ip bgp peer-group techpubs



BGP Peer-group: techpubs remote AS 100

BGP version: 4       State:Administratively down

Route-Reflector-client:False

def orignat: False   ebgp multihop: False

send comm: False     soft reconfig: False

router#show ip bgp neighbor 10.200.83.190



BGP neighbor 10.200.83.190 using remote AS 300

router ID: 0.0.0.0 version: 4

state: Active time: 0:00:00

def orignat: False ebgp multihop: False

n hop self: False route ref client: False

send comm: False soft reconfig: False

hold time: 180 sec keepalive time: 60 sec

advertisement interval: 5 sec

# notf rcvd: 0 # msg rcvd: 0 # updates rcvd: 0

# notf sent: 0 # msg sent: 0 # updates sent: 0

.

.

.

router#



Related Commands: show ip bgp


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: BGP_Nd.fm
    HTML File Name: BGP_Nd38.html
    Last Updated: 05/10/04 at 16:36:55

Please email suggestions and comments to: doc@avici.com