The peer advertise add-path command configures the maximum number of routes that the device can send to a specified peer group.
The undo peer advertise add-path command restores the default configurations.
By default, the device sends only the optimal route to a peer group.
Parameter | Description | Value |
---|---|---|
group-name |
Specifies the name of a peer group. |
The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
path-number path-number |
Specifies the maximum number of routes that the device can send. |
The value is an integer ranging from 2 to 64. |
Usage Scenario
After BGP Add-Path is configured on an RR, the RR needs to send routes to a specified peer group. To configure the maximum number of routes that the RR can send to the peer group, run the peer advertise add-path command. The actual number of routes that the RR can send to the peer group is the smaller one of the value configured using the peer advertise add-path command and the actual number of routes selected by the RR. If the maximum number of routes that the RR can send to the peer group is less than the actual number of routes selected by the RR, the RR selects the optimal and Add-Path routes based on the BGP route selection rules.
Prerequisites
The following operations have been performed:
Precautions