The display bgp sr-policy ipv6 routing-table command displays information about routes in a BGP IPv6 SR-Policy address family.
Parameter | Description | Value |
---|---|---|
remoteIpv6Addr |
IPv6 peer address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
advertised-routes |
Displays the routes advertised to a specified peer. |
- |
received-routes |
Displays the routes received from a specified peer. |
- |
sr-policy-prefix |
The prefix of IPv6 SR-Policy routes. |
The value is a string case-sensitive characters, spaces not supported. |
statistics |
Displays statistics about routes advertised to or received from a specified peer. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp sr-policy ipv6 routing-table peer 1::1 received-routes statistics
Received routes total: 1
<HUAWEI> display bgp sr-policy ipv6 routing-table peer 1::1 received-routes [46][46][8::8]
BGP local router ID : 2.2.2.2
Local AS number : 100
Paths: 1 available, 1 best, 1 select, 0 best-external, 0 add-path
BGP routing table entry information of [46][46][8::8]:
From: 1::1 (192.168.1.1)
Route Duration: 0d00h01m30s
Relay IP Nexthop: 1::1
Relay IP Out-Interface:Ethernet0/1/16
Original nexthop: 1::1
Qos information : 0x0
AS-path Nil, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 255
Tunnel Encaps Attribute (23):
Tunnel Type: SR Policy (15)
Preference: 123
Binding SID: 1::2, s-flag(0), i-flag(0)
Segment List
Weight: 55
Segment: type:13, SID: 28:1:8::2, Flags:0x10
SID Structure: LB length:48, LN length:16, Func length:16, Args length:0
Not advertised to any peer yet
Item | Description |
---|---|
Received routes total | Number of routes received from the peer. |
BGP local router ID | Router ID of the local BGP device. |
BGP routing table entry information | The following information is about IPv6 SR-Policy routes. |
Local AS number | Local AS number. |
Route Duration | Duration of the route. |
Relay IP Nexthop | Next hop of IP recursion. |
Relay IP Out-Interface | Outbound interface of IP recursion. |
Original nexthop | Original next hop. |
Qos information | QoS information. |
AS-path | AS_Path attribute.Nil indicates that the attribute value is null. |
MED | Route MED: This attribute is applicable only to the routes of EBGP peers, not IBGP peers. |
pref-val | Preferred value (PrefVal) of a protocol. |
Tunnel Encaps Attribute | Tunnel Encaps Attribute of the BGP IPv6 SR-Policy route:
|
Tunnel Type | Tunnel type. |
Binding SID | Bound SID. |
Not advertised to any peer yet | The route has not advertised to any peer yet. |
From | IP address of the device that sends the route. |
Origin | Origin of the route:
|
valid | The BGP route is a valid route. |
internal | Internal route. |
best | Optimal route. |
Preference | BGP route preference. |
/no-xpath-for-item/ | Local preference. This attribute is applicable only to the routes learned from IBGP peers, but not to the routes learned from EBGP peers. |
/no-xpath-for-item/ | Route flag that contains the character string. |
/no-xpath-for-item/ | Reason why the route is not selected. |
/no-xpath-for-item/ | List of peers to which routes are sent. |
/no-xpath-for-item/ | Advertise nexthop. |
/no-xpath-for-item/ | VPN name of a BGP instance. |
/no-xpath-for-item/ | Remote peer address. |
/no-xpath-for-item/ | SR PBR prefix. |
/no-xpath-for-item/ | ID of the routing table to which routes are imported. |
/no-xpath-for-item/ | Timestamp of a route. |
/no-xpath-for-item/ | Community attribute of an RPD route. |
/no-xpath-for-item/ | Extended community attribute. |
/no-xpath-for-item/ | Router ID of the route initiator (cluster). |
/no-xpath-for-item/ | List of clusters to which RPD routes belong. |
/no-xpath-for-item/ | Router ID of the peer. |
/no-xpath-for-item/ | Large community attribute information. |
/no-xpath-for-item/ | Name of the outbound interface of a route. |
/no-xpath-for-item/ | Name of the outbound interface of a route. |
Paths | Path information. |