CLI Guide

Layer 3 Routing Commands 1268
Syntax
bgp listen { limit max-number | range network/length [ inherit peer peer-
template-name ] }
no bgp listen { limit | range network/length [ inherit peer peer-template-
name ] }
limit
max-number
— Sets a maximum limit number of IPv4 BGP
dynamic subnet range neighbors. The number is from 1 to 100. Default is
20.
range network/length
— Specifies a listen subnet range that is to be
created. The IP prefix representing a subnet is specified by network, and
length is the subnet mask in bits. The network argument can be valid IPv4
prefix (BGP Router Configuration mode or IPv4 Address Family
Configuration mode) or an IPv6 prefix (IPv6 Address Family
Configuration mode).
inherit peer peer-template-name
— (Optional) Specifies a BGP peer
template name that is to be associated with the specified listen subnet
range and inherited with dynamically created neighbors.
Default Configuration
No subnets are associated with a BGP listen subnet range, and the BGP
dynamic neighbor feature is not activated.
Command Mode
BGP Router Configuration mode, IPv4 Address Family Configuration mode,
IPv6 Address Family Configuration mode
User Guidelines
This command can be used to configure IPv4 BGP neighbors (BGP Router
Configuration mode) as well as IPv6 BGP neighbors (IPv6 Address Family
Configuration mode).
Use the limit keyword and max-number argument to define the global
maximum number of IPv4 BGP dynamic neighbors that can be created.
BGP dynamic neighbors are configured using a range of IP addresses. Each
range can be configured as a subnet IP address. After a subnet range is
configured for a BGP peer group, and a TCP session is initiated by the