beautypg.com

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

Page 545: Neighbor route, 68 neighbor route-map

background image


35-258

: Name of peer group

: Neighbor AS number ranging between 1-65535

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:

Switch(config)#router bgp 200

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

35.67 neighbor remove-private-AS

Command: neighbor {|} remove-private-AS

no neighbor {|} remove-private-AS

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

neighbor {|} remove-private-AS” command cancels this configuration.

Parameter: : Neighbor IP address

: Name of peer group

Default: Not configured

Command Mode: BGP route mode and address-family mode

Usage Guide: Configure this attribute to avoid assigning the internal AS number to the external AS

sometimes. The internal AS number ranges between 64512-65535, which the AS number could not be

sent to the INTERNET since it is not a valid external AS number. What removed here is private AS

numbers of the totally private AS routes. Those who have private AS numbers while also have public AS

numbers are not processed.

Example:

Switch(config-router)#neighbor 10.1.1.64 remove-private-AS

35.68 neighbor route-map

Command: neighbor {|} route-map {}

no neighbor {|} route-map {}

Function: Configure the route mapping policy when sending or receiving route. The “no neighbor

{|} route-map {}” command cancels this configuration.

Parameter: : Neighbor IP address