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.
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
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. |
- |
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.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] egress-engineering peer-set group1
<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
<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