peer advertise link-bandwidth transitive (BGP-IPv4 unicast address family view)(IPv6)

Function

The peer advertise link-bandwidth transitive command enables a device to convert the Link Bandwidth extended community attribute (optional non-transitive) carried in BGP routes into an optional transitive attribute before advertising the BGP routes to a specified peer.

The undo peer advertise link-bandwidth transitive command cancels the existing configuration.

By default, a device cannot convert the Link Bandwidth extended community attribute (optional non-transitive) carried in a BGP route into an optional transitive attribute before advertising the route to a BGP peer.

Format

peer peerIpv6Addr advertise link-bandwidth transitive

peer peerIpv6Addr advertise link-bandwidth transitive disable

undo peer peerIpv6Addr advertise link-bandwidth transitive

undo peer peerIpv6Addr advertise link-bandwidth transitive disable

Parameters

Parameter Description Value
peerIpv6Addr

Specifies the IPv6 address of a BGP peer.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

disable

Disables a device to advertise the Link Bandwidth extended community attribute to a specified EBGP peer.

-

Views

BGP-IPv4 unicast address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

To enable a device to convert the Link Bandwidth extended community attribute (optional non-transitive) carried in BGP routes into an optional transitive attribute before advertising the BGP routes to a specified peer, run the peer advertise link-bandwidth transitive command.

After a peer is added to a peer group, the peer inherits the configuration of the peer group. If the peer advertise link-bandwidth transitive command is run on the local device for the peer group and the newly added peer does not need to inherit this configuration, you need to run the peer advertise link-bandwidth transitive disable command on the local device for the peer.

Precautions

Before running the peer advertise link-bandwidth transitive command, you need to use a route-filter to add the Link Bandwidth extended community attribute to BGP routes.

Currently, this command can be used to process only one Link Bandwidth extended community attribute per BGP route.

However, if a device changes the next-hop address of a received route carrying the Link Bandwidth extended community attribute to its own address, the device deletes this attribute before advertising it to other peers.

Example

# Enable a device to convert the Link Bandwidth extended community attribute (optional non-transitive) carried in BGP routes into an optional transitive attribute before advertising the BGP routes to a specified peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2001:DB8:1::1 as-number 100
[*HUAWEI-bgp] ipv4-family unicast
[*HUAWEI-bgp-af-ipv4] ext-community-change enable
[*HUAWEI-bgp-af-ipv4] peer 2001:DB8:1::1 enable
[*HUAWEI-bgp-af-ipv4] peer 2001:DB8:1::1 advertise-ext-community
[*HUAWEI-bgp-af-ipv4] peer 2001:DB8:1::1 advertise link-bandwidth transitive
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >