advertise ebgp enable (BGP IPv6 SR-Policy address family view)

Function

The advertise ebgp enable command enables a device to advertise SRv6 TE Policy routes to EBGP peers.

The undo advertise ebgp enable command disables a device from advertising SRv6 TE Policy routes to EBGP peers.

By default, a device is disabled from advertising SRv6 TE Policy routes to EBGP peers.

Format

advertise ebgp enable

undo advertise ebgp enable

Parameters

None

Views

BGP IPv6 SR-Policy address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

SRv6 TE Policy is a tunneling technology developed based on SRv6. An SRv6 TE Policy route dynamically generated by a controller needs to be transmitted to a forwarder through BGP extension. By default, SRv6 TE Policy routes are advertised only to IBGP peers. To advertise SRv6 TE Policy routes to EBGP peers, run the advertise ebgp enable command.

Example

# Enable a device to advertise SRv6 TE Policy routes to EBGP peers.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family sr-policy
[*HUAWEI-bgp-af-ipv6-srpolicy] advertise ebgp enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >