Users Guide

Layer 3 Routing Commands 1322
This command is allowed only on external BGP neighbors. A neighbor can
inherit this configuration from a peer template.
When the local-as is configured for a peer, the BGP peer adjacency gets reset.
Command History
Introduced in version 6.3.0.1 firmware.
Example
console(config)#router bgp 65000
console(config-router)# neighbor 172.20.1.2 remote-as 65001
console(config-router)# neighbor 172.20.1.2 local-as 65002 no-prepend
replace-as
console(config-router)# neighbor 2001::2 remote-as 65003
console(config-router)# neighbor 2001::2 local-as 65002 no-prepend replace-
as
neighbor maximum-prefix (BGP Router
Configuration)
Use the neighbor maximum-prefix command to configure the maximum
number of IPv4 prefixes that BGP will accept from a specified neighbor.
Syntax
neighbor { ip-address | ipv6-address [ interface interface-id ]} maximum-
prefix { maximum [threshold] [warning-only] | unlimited }
no neighbor { ip-address | ipv6-address [ interface interface-id ]} maximum-
prefix
ip-addressThe neighbor’s IP address.
ipv6-addressThe neighbor’s IPv6 address. If the neighbor’s IPv6 address
is a link local address, the local interface must also be specified.
interface-id—If the neighbor’s IPv6 address is a link local address, the local
VLAN routing interface must also be specified.
maximum—The maximum number of prefixes BGP will accept from this
neighbor. Range 0-4294967295. Values greater than the free space in the
route table are not enforced.