67 neighbor remove-private-as, Neighbor remove, Private – PLANET XGS3-24042 User Manual

Page 664: As -303

Advertising
background image


37-303

Configure the BGP neighbor. The no command is used for deleting BGP neighbors.

Parameter:

<ip-address>: Neighbor IP address

<TAG>: Name of peer group

<as-id>: Neighbor AS number, ranging from 1 to 4294967295, it can be shown in decimal notation

(such as 6553700) or delimiter method (such as 100.100).

Default:

No neighbors

Command Mode:

BGP route mode and address-family mode

Usage Guide:

The BGP neighbors are completely generated through command configurations. A neighbor

relationship can only be really established by mutual configuring. Partner AS number should be

specified in configuration. The neighbor relationship can not be established when the AS number is

incorrect. The partner AS number is the same with that of local side inside the AS.

Example:

Configure 2 neighbor AS as 100 and 100.200.

Switch(config)#router bgp 200

Switch(config-router)# neighbor 10.1.1.64 remote-as 100

Switch(config-router)# neighbor 10.2.1.64 remote-as 100.200

37.67 neighbor remove-private-AS

Command:

neighbor {<ip-address>|<TAG>} remove-private-AS

no neighbor {<ip-address>|<TAG>} remove-private-AS

Function:

Configures whether remove the private AS number when sending to the neighbor.The “no

neighbor {<ip-address>|<TAG>} remove-private-AS” command cancels this configuration.

Parameter:

<ip-address>: Neighbor IP address

<TAG>: Name of peer group

Default:

Not configured

Command Mode:

BGP route mode and address-family mode

Usage Guide:

Advertising
This manual is related to the following products: