neighbor route-map
Default Setting
Disabled
Command Usage
◆
This command only applies to eBGP neighbors. It is used to avoid passing an
internal AS number to an external AS. Internal AS numbers range from 64512-
65535, and should not be sent to the Internet since they are not valid external
AS numbers.
◆
This configuration only takes effect when the AS Path attribute of a route
contains only internal AS numbers. If the AS Path attribute for a route contains
both internal and external AS numbers, the route will not be processed.
◆
This command may be used in BGP confederations provided that the private AS
numbers appear after the confederation portion of the AS path.
Example
Console(config-router)#neighbor 10.1.1.64 remove-private-as
Console(config-router)#
This command specifies the route mapping policy for inbound/outbound routing
updates for specified neighbors. Use the no form to remove this policy binding.
Syntax
neighbor {ip-address | group-name} route-map map-name {in | out}
no neighbor {ip-address | group-name} route-map {in | out}
ip-address – IP address of a neighbor.
group-name – A BGP peer group containing a list of neighboring routers
configured with the
map-name – Name of the route map. The route map can be used to filter
the networks to advertise or receive based on various attributes.
(Range: 1-128 characters)
in – Filter inbound routing updates.
out – Filter outbound routing updates.
Command Mode
Router Configuration
Default Setting
No route maps are configured nor bound to any neighbor.
neighbor peer-group
– 967 –
Chapter 29
| IP Routing Commands
Border Gateway Protocol (BGPv4)
command.