egress-engineering peer-set

Function

The egress-engineering peer-set command creates a BGP peer set.

The undo egress-engineering peer-set command deletes a BGP peer set.

By default, no BGP peer set is created.

Format

egress-engineering peer-set peer-set-name

egress-engineering peer-set peer-set-name label static-label

egress-engineering peer-set peer-set-name link-down relate-bfd-state

egress-engineering peer-set peer-set-name link-down label-pop

undo egress-engineering peer-set peer-set-name

undo egress-engineering peer-set peer-set-name label static-label

undo egress-engineering peer-set peer-set-name link-down label-pop

undo egress-engineering peer-set peer-set-name link-down relate-bfd-state

Parameters

Parameter Description Value
peer-set-name

Specifies the name of a BGP peer set.

The value is a string of 1 to 63 characters.

label static-label

Specifies the static label value.

The value is an integer in the range of 16 to 32783.

link-down

BGP EPE Link Down.

-

relate-bfd-state

BGP EPE Label Care BFD State.

-

label-pop

The BGP EPE Label Pop when The Link is Down.

-

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

Border Gateway Protocol (BGP) is a dynamic routing protocol used between ASs. BGP egress peer engineering (EPE) is an extension of BGP for segment routing and is used to implement source routing between ASs.

BGP EPE can allocate BGP peer SIDs to inter-AS paths, and the peer SIDs can then be advertised to a network controller through extended BGP-LS functions. The controller orchestrates IGP SIDs and BGP peer SIDs to implement inter-AS forwarding over the optimal path.

Besides peer nodes and peer adjacencies, there are also peer sets. You can manually plan a group of peers as a peer set and allocate a SID to the group. This SID can correspond to multiple outbound interfaces.

Precautions

A peer set cannot be deleted if it is referenced by a public IPv4 peer.

Example

# Create a BGP peer set.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] egress-engineering peer-set group1
# Configure a device to search its routing table when detecting an interface down event during traffic forwarding based on BGP-EPE label.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] egress-engineering peer-set group1 label 32
[*HUAWEI-bgp] egress-engineering peer-set group1 link-down label-pop
# Associate BGP-EPE labels with SBFD packets.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] egress-engineering peer-set group1
[*HUAWEI-bgp] egress-engineering peer-set group1 link-down relate-bfd-state
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >