neighbor route-map
D
S
EFAULT
ETTING
Disabled
C
U
OMMAND
SAGE
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.
E
XAMPLE
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.
S
YNTAX
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.
C
M
OMMAND
ODE
Router Configuration
D
S
EFAULT
ETTING
No route maps are configured nor bound to any neighbor.
– 1875 –
| IP Routing Commands
C
51
HAPTER
Border Gateway Protocol (BGPv4)
neighbor peer-group
command.