advertise ebgp enable

Function

The advertise ebgp enable command enables a device to advertise SR-MPLS TE Policy routes to EBGP peers.

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

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

Format

advertise ebgp enable

undo advertise ebgp enable

Parameters

None

Views

BGP IPv4 SR-Policy address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

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

Example

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