Administrator Guide

Layer 3 Routing Commands 1295
Syntax
neighbor {
ip-address
|
ipv6-address
[ interface
interface-id
] ] | autodetect
interface
interface-id
} inherit peer
template-name
no neighbor {
ip-address
|
ipv6-address
[ interface
interface-id
] | autodetect
interface
interface-id
}
inherit peer
template-name
ip-address
—The neighbor’s IPv4 address.
ipv6-address
[
interface
interface-id
]—The neighbor’s IPv6 address. If the
neighbor’s IPv6 address is a link local address, the local interface must also
be specified.
autodetect interface
interface-id
– The VLAN routing interface on which
the neighbor’s link local IPv6 address is auto detected.
template-name
—The name of the peer template whose peer configuration
parameters are to be inherited by this neighbor.
Default Configuration
No peer configuration parameters are inherited by default.
Command Mode
BGP Router Configuration mode, IPv4 Address Family Configuration mode
User Guidelines
Neighbor session and policy parameters can be configured once in a peer
template and inherited by multiple neighbors, eliminating the need to
configure the same parameters for each neighbor. Parameters are inherited
from the peer template specified and from any templates it inherits from. A
neighbor can inherit directly from only one peer template.
Command History
Introduced in version 6.2.0.1 firmware.
Updated 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.2.2 remote-as 65001
2CSNXXX_SWUM204.book Page 1295 Monday, January 25, 2016 1:25 PM