The display bgp sr-policy routing-table peer command displays information about routes in a BGP IPv4 SR-Policy address family.
The display bgp sr-policy routing-table peer statistics command displays statistics about routes in a BGP IPv4 SR-Policy address family.
Parameter | Description | Value |
---|---|---|
peer ipv4-address |
Specifies an IPv4 peer address. |
The value is in dotted decimal notation. |
advertised-routes |
Displays routes advertised to the remote peer. |
- |
received-routes |
Displays routes received from the remote peer. |
- |
sr-policy-prefix |
Displays information about the route with a specified SR-Policy prefix. |
The value is a string case-sensitive characters, spaces not supported. The format is [distinguisher][policycolor][endpoint]([x][x][x.x.x.x]). |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp sr-policy routing-table peer 10.1.1.2 advertised-routes [10][10][10.10.10.10] BGP local router ID : 10.1.1.1 Local AS number : 100 Paths: 1 available, 1 best, 1 select, 0 best-external, 0 add-path BGP routing table entry information of [10][10][10.10.10.10]: From: 0.0.0.0 (0.0.0.0) Route Duration: 0d03h00m33s Relay IP Nexthop: 0.0.0.0 Original nexthop: 127.0.0.1 Qos information : 0x0 AS-path Nil, origin incomplete, MED 0, pref-val 0, valid, local, best, pre 255 Tunnel Encaps Attribute (23): Tunnel Type: SR-MPLS TE Policy (15) Binding SID: 1111, s-flag(1), i-flag(1) Preference: no present Segment List Weight: no present Segment: type:1, Label:1111 Advertised to such 1 peers: 10.1.1.2
Item | Description |
---|---|
BGP local router ID | Local router ID of BGP. |
BGP routing table entry information of [10][10][10.10.10.10] | Information about the SR-Policy route [10][10][10.10.10.10]. |
Local AS number | Local AS number. |
Route Duration | Duration of the route. |
Relay IP Nexthop | Recursive next hop. |
Original nexthop | Original next-hop IP address. |
AS-path | AS_Path attribute (Nil indicates that the attribute value is null.). |
Tunnel Encaps Attribute | Tunnel Encaps Attribute information of the BGP SR-Policy route, including:
|
Tunnel Type | Tunnel Type. |
Binding SID | Binding SID. |
Advertised to such 1 peers | Peer to which a route is advertised. |
From | IP address of the device that advertises the route. |
Origin | Origin of the route:
|
Paths | Information about paths. |
Preference | The priority of the route. |