peer generate-link-bandwidth (BGP-IPv6 unicast address family view)(group)

Function

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-bandwidthcommand cancels the existing configuration.

By default, an EBGP peer group is disabled from obtaining the link bandwidth of directly connected EBGP peers.

Format

peer peerGroupName generate-link-bandwidth

undo peer peerGroupName generate-link-bandwidth

Parameters

Parameter Description Value
peerGroupName

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.

Views

BGP-IPv6 unicast address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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.

Example

# Configure an EBGP peer group to obtain the link bandwidth of directly connected EBGP peers.
<HUAWEI> sys
[~HUAWEI] bgp 100
[*HUAWEI-bgp] group test external
[*HUAWEI-bgp] ipv6-family unicast
[*HUAWEI-bgp-af-ipv6] peer test enable
[*HUAWEI-bgp-af-ipv6] peer test generate-link-bandwidth
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >