display rib attribute
Use display rib attribute to display route attribute information in the RIB.
Syntax
display rib attribute [ attribute-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
attribute-id: Specifies a route attribute by its ID, a hexadecimal string in the range of 0 to ffffffff.
Examples
# Display route attribute information in the RIB.
<Sysname> display rib attribute Total number of attribute(s): 10 Detailed information of attribute 0x0: Flag: 0x0 Protocol: BGP instance default Address family: IPv4 Reference count: 0 Act-RT reference count: 0 Flush flag: 0 Local preference: 0 Ext-communities number: 26 Ext-communities value: <RT: 1:1> <RT: 2:2> <RT: 3:3> <RT: 123.123.123.123:65535 > <RT: 1234567890:65535> <RT: 123.123.123.123:65534> <RT : 4:4> <RT: 5:5> <RT: 6:6> <RT: 7:7> <RT: 8:8> <RT: 9:9> <RT: 10:10> <RT: 10:1> <RT: 10:11> <RT: 10:12> <RT: 10: 13> <RT: 10:14> <RT: 10:15> <RT: 10:16> ... Communities number: 0 Communities value: N/A AS-path number: 0 AS-path value: N/A SFlow AS-path length: 0 SFlow AS-path value: N/A Detailed information of attribute 0x1: Flag: 0x0 Protocol: BGP Address family: IPv4 Reference count: 0 Act-RT reference count: 0 Flush flag: 0 Local preference: 0 Ext-communities number: 1 Ext-communities value: <RT: 1:2> Communities number: 0 Communities value: N/A AS-path number: 0 AS-path value: N/A
Table 10: Command output
Field | Description |
---|---|
Protocol | Protocol that generates the attribute. |
Act-RT reference count | Reference count of the activated route. |
Flush flag | Indicates whether the route attribute has been flushed to the FIB. This field displays 0 if the route attribute is not flushed to the FIB. This field displays 1 if the route attribute has been flushed to the FIB. |
Ext-communities number | Number of the extended community attribute values. |
Ext-communities value | Values of the extended community attribute. This field displays N/A when no values exist, and it can display a maximum of 20 values. |
Communities number | Number of the COMMUNITY attribute values. |
Communities value | Values of the COMMUNITY attribute. This field displays N/A when no values exist, and it can display a maximum of 20 values. |
AS-path number | Number of ASs in the AS_PATH attribute. |
AS-path value | Values of the AS_PATH attribute, including AS_SET, AS_SEQUENCE, confederation AS_SET, and confederation AS_SEQUENCE. This field displays N/A when no values exist, and it can display a maximum of 20 values. |
SFlow AS-path length | Length of the SFlow AS-path attribute. |
SFlow AS-path value | Values of the SFlow AS-path attribute. This field displays N/A when no values exist, and it can display a maximum of 80 values. |