The peer generate-link-bandwidth command enables an EBGP peer group on the local device to obtain the link bandwidth of directly connected EBGP peers.
The undo peer generate link-bandwidth command cancels the existing configuration.
By default, an EBGP peer group is disabled from obtaining the link bandwidth of directly connected EBGP peers.
Usage Scenario
When load balancing is performed among routes, if the actual link bandwidth needs to be obtained and dynamically updated with the change of the actual bandwidth, and commands such as peer connect-interface, peer ebgp-max-hop and ttl are not configured, to enable an EBGP peer group on a local device to obtain the link bandwidth of directly connected EBGP peers, run the peer generate-link-bandwidth command. In addition, EBGP peers in the peer group inherit the configuration of the peer group.