Usage Scenario
BGP EPE allocates BGP peer SIDs to inter-AS paths. BGP-LS advertises the BGP peer SIDs to the network controller. The controller uses the explicit paths to orchestrate IGP SIDs and BGP peer SIDs to implement inter-AS optimal path forwarding.
To view peer-node SIDs and peer-Adj SIDs, run the display bgp egress-engineering command.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp egress-engineering Peer Node : 2.2.2.2 Peer Adj Num : 2 Local ASN : 100 Remote ASN : 200 Local Router Id : 10.1.1.1 Remote Router Id : 10.1.1.2 Local Interface Address : 1.1.1.1 Remote Interface Address : 2.2.2.2 SID Label : 32768 Peer Set SID Label : -- Nexthop : 10.10.1.2 Out Interface : GigabitEthernet0/1/1 Nexthop : 10.1.1.2 Out Interface : GigabitEthernet0/1/0 Peer Adj : 10.10.1.2 Local ASN : 100 Remote ASN : 200 Local Router Id : 10.1.1.1 Remote Router Id : 10.1.1.2 Interface Identifier : 7 Local Interface Address : 10.10.1.1 Remote Interface Address : 10.10.1.2 SID Label : 32769 Nexthop : 10.10.1.2 Out Interface : GigabitEthernet0/1/1 Peer Adj : 10.1.1.2 Local ASN : 100 Remote ASN : 200 Local Router Id : 10.1.1.1 Remote Router Id : 10.1.1.2 Interface Identifier : 6 Local Interface Address : 10.1.1.1 Remote Interface Address : 10.1.1.2 SID Label : 32770 Nexthop : 10.1.1.2 Out Interface : GigabitEthernet0/1/0 Peer Node : 2::2 Peer Adj Num : 1 Local ASN : 100 Remote ASN : 200 Local Router Id : 10.1.1.1 Remote Router Id : 10.1.1.2 Local Interface Address : 1::1 Remote Interface Address : 2::2 SRv6 SID : 101::1:0:0 SRv6 SID (PSP) : 101::1:0:1 SRv6 SID (PSP,USP,USD) : 101::1:0:2 SRv6 SID (PSP,USP,USD,COC) : 101::1:0:3 Nexthop : FE80::3A3D:B9FF:FE21:300 Out Interface : GigabitEthernet0/1/16 Virtual link info: TE Admin group : 0x202 TE Metric : 200 TE SRLG : 50 100 300 Min/Max Delay : 714/5414 Peer Adj : FE80::3A3D:B9FF:FE21:300 Local ASN : 100 Remote ASN : 200 Local Router Id : 10.1.1.1 Remote Router Id : 10.1.1.2 Interface Identifier : 8 Local Interface Address : FE80::3A3D:B9FF:FE11:300 Remote Interface Address : FE80::3A3D:B9FF:FE21:300 SRv6 SID : 101::1:0:0 SRv6 SID (PSP) : 101::1:0:1 SRv6 SID (PSP,USP,USD) : 101::1:0:4 SRv6 SID (PSP,USP,USD,COC) : 101::1:0:5 Nexthop : FE80::3A3D:B9FF:FE21:300 Out Interface : GigabitEthernet0/1/16
Item | Description |
---|---|
Peer Node | Peer IP address. |
Peer Adj Num | Number of LDP peer adjacencies. |
Peer Set SID Label | Peer-set SID value. |
Peer Adj | Peer adjacency IP address. |
Local ASN | Local AS number. |
Local Router Id | Local router ID. |
Local Interface Address | IP address of the local interface. |
Remote ASN | Peer AS number. |
Remote Router Id | Peer router ID. |
Remote Interface Address | IP address of the remote interface. |
Interface Identifier | Interface ID. |
SID Label | SID value. |
Nexthop | Next-hop IP address. |
Out Interface | Outbound interface name. |
SRv6 SID | End.X SID (no PSP, no USP) value. |
SRv6 SID (PSP) | End.X SID (PSP) value. |
SRv6 SID (PSP,USP,USD) | End.X SID (PSP,USP,USD). |
SRv6 SID (PSP,USP,USD,COC) | End.X SID (PSP,USP,USD,COC). |
Virtual link info | Virtual link information. |
TE Admin group | TE link management group. |
TE Metric | TE cost. |
TE SRLG | TE SRLG value. |
Min/Max Delay | Minimum/maximum delay (ms). |