display bgp link-state unicast routing-table statistics

Function

The display bgp link-state unicast routing-table statistics command displays BGP-LS route statistics.

Format

display bgp link-state unicast routing-table [ peer { ipv4-address | ipv6-address } { received-routes | advertised-routes } ] [ type { node | link | ipv4-prefix | ipv6-prefix | te-policy | srv6-sid } ] statistics

Parameters

Parameter Description Value
peer ipv4-address

Specifies the address of the IPv6 peer to be displayed.

The value is in dotted decimal notation.

ipv6-address

Specifies the address of the IPv6 peer to be displayed.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

received-routes

Displays BGP-LS routes received from the specified peer.

-

advertised-routes

Displays BGP-LS routes advertised to the specified peer.

-

type

Route type information.

-

node

Node Route.

-

link

Link Route.

-

ipv4-prefix

IPv4 Prefix Route.

-

ipv6-prefix

IPv6 Prefix Route.

-

te-policy

TE Policy routes.

-

srv6-sid

SRv6-SID Route.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

The display bgp link-state unicast routing-table statistics command displays statistics about BGP Link-state routes in the BGP-LS unicast address family.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about all BGP-LS routes.
<HUAWEI> display bgp link-state unicast routing-table statistics
Total Number of Node Routes: 1
 Total Number of Link Routes: 2
 Total Number of IPv4 Prefix Routes: 3
 Total Number of IPv6 Prefix Routes: 0
 Total Number of TE Policy Routes: 0
 Total Number of SRv6-sid Routes: 0
Table 1 Description of the display bgp link-state unicast routing-table statistics command output
Item Description
Total Number of Node Routes

Total number of node routes.

Total Number of Link Routes

Total number of link routes.

Total Number of IPv4 Prefix Routes

Total number of IPv4 prefix routes.

Total Number of IPv6 Prefix Routes

Total number of IPv6 prefix routes.

Total Number of TE Policy Routes

Total number of TE Policy routes.

Total Number of SRv6-sid Routes

Total Number of SRv6-sid Routes.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >