neighbor capability
Controls advertisement of BGP capabilities to peers. Capability negotiation and advertisement of all capabilities, except the ORF capability, is enabled by default. The no version disables capability negotiation or prevents advertisement of the specified capability. The default version restores the default condition, advertising the capability.
For all capabilities except ORF:
[ no | default ] neighbor { ipAddress | ipv6Address | peerGroupName } capability
{ deprecated-dynamic-capability-negotiation | dynamic-capability-negotiation |
four-octet-as-numbers | negotiation | route-refresh | route-refresh-cisco }neighbor { ipAddress | ipv6Address | peerGroupName } capability orf
{ prefix-list | prefix-list-cisco } { send | receive | both }{ no | default } neighbor { ipAddress | ipv6Address | peerGroupName } capability orf
{ prefix-list | prefix-list-cisco } [ send | receive | both ]
- ipAddressIP address of BGP neighbor
- ipv6AddressIPv6 address of BGP neighbor; because IPv6 ORF prefix lists are not supported, this variable is valid for the ORF c capability only under the IPv4 address family for advertising IPv4 routes over BGP IPv6 peers
- peerGroupNameName of BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
- negotiationDetermines whether the capabilities option is sent in the open message while establishing a session; if it is not sent, no capability negotiation is conducted with that peer
- deprecated-dynamic-capability-negotiationIndicates support of negotiation of capabilities (sending new capabilities or removing previously negotiated capabilities) without performing a hard clear of the BGP session; the capability data field does not include a list of capabilities that can be dynamically negotiated
- dynamic-capability-negotiationIndicates support of negotiation of capabilities (sending new capabilities or removing previously negotiated capabilities) without performing a hard clear of the BGP session; the capability data field includes a list of capabilities that can be dynamically negotiated
- four-octet-as-numbersIndicates support of AS numbers and sub-AS numbers that are four octets in length, in the range 04294967295
- route-refreshIndicates support of route-refresh messages that request the peer to resend its routes to the router, enabling the BGP speaker to apply modified or new policies to the routes when it receives them again
- route-refresh-ciscoIndicates support of Cisco-proprietary (prestandard) route-refresh messages for interoperability with older Cisco devices
- orfIndicates support of cooperative route filtering to install a BGP speaker's inbound route filter as an outbound route filter on the peer
- prefix-listInstalls the filter (any inbound prefix list or distribute list) as an outbound prefix list
- prefix-list-ciscoInstalls the filter (any inbound prefix list or distribute list) as an outbound Cisco proprietary prefix list
- sendSends inbound route filter to the peer to install as the outbound route filter
- receiveAccepts inbound route filter from the peer and installs it as the outbound route filter; cannot be configured for a peer group or a peer that is a member of a peer groups
- bothSends and accepts inbound route filters with the peer for installation as the outbound route filter
Address Family Configuration, Router Configuration
Command introduced before JUNOSe Release 7.1.0.
ipv6Address variable added in JUNOSe Release 8.0.0.