set protocols bgp listen


The set protocols bgp listen command configures BGP dynamic neighbors listen parameters.
The delete protocols bgp listen command removes the configuration of BGP dynamic neighbors listen parameters.


Command Syntax

set protocols bgp [vrf <vrf-name>listen [limit <limit-number>| range <listen-range> [peer-group <peer-group>]]

delete protocols bgp [vrf <vrf-name>] listen [limit <limit-number>| range<listen-range> [peer-group <peer-group>]]


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

limit <limit-number>Optional. Specifies the number of dynamic peers. The value is an integer that ranges from 1 to 5000. The default value is 100.
range<listen-range>Optional. Specifies the BGP dynamic neighbors listen range. The value is in the format of <ipaddress/prefixlen>.
  • ipaddress specifies an aggregate address in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255. prefixlen specifies the number of bits in the address mask in CIDR format (x), where x is a decimal number from 0 to 128.
  • ipaddress specifies an aggregate address in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), where x is a hexadecimal number from 0 to F. prefixlen specifies the number of bits in the address mask in CIDR format (x), where x is a decimal number from 0 to 128.

When specifying the BGP dynamic neighbors listen range, you can also set the peer group.


Example
• This example limits the number of dynamic peers to 5.

admin@XorPlus# set protocols bgp listen limit 5
admin@XorPlus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.