7.12. Show, Clear, and Monitor Command Reference

7.12.1. Command Hierarchies

7.12.1.1. Show Commands

show
— router
label [label] [detail]
label [label] egress-stats
label [label] ingress-stats
tunnel [{ip-address | ipv6-address}] [detail]
tunnel [{ip-address | ipv6-address}] egress-stats

7.12.1.2. Clear Commands

clear
— router
label label preference preference client-tag client-tag egress-stats
label label ingress-stats
tunnel {ip-address | ipv6-address} preference preference client-tag client-tag egress-stats

7.12.1.3. Monitor Commands

monitor
— router
label label preference preference client-tag client-tag egress-stats [interval seconds] [repeat repeat] [{absolute | rate}]
tunnel {ip-address | ipv6-address} preference preference client-tag client-tag egress-stats [interval seconds] [repeat repeat] [{absolute | rate}]

7.12.2. Command Descriptions

7.12.2.1. Show Commands

rib-api

Syntax 
rib-api
Context 
show>router
Description 

This command displays RIB-API protocol entities information.

label

Syntax 
label [label] [detail]
label [label] egress-stats
label [label] ingress-stats
Context 
show>router>rib-api
Description 

This command displays RIB-API label information.

Parameters 
label—
Specifies the label of a specified RIB-API entry.
Values—
16 to 1048575

 

detail—
Displays detailed RIB-API label information.
egress-stats—
Displays egress statistics of all instances for the specified RIB-API label.
ingress-stats—
Displays ingress statistics of all instances for the specified RIB-API label.
Output 

The following output is an example of RIB-API label information.

Sample Output
show router rib-api label 400001 egress-stats
===============================================================================
Label (Detail)
===============================================================================
Label          : 400001                 Rib-Api Pref   : 16
Client Ip      : 172.21.38.76           Client Tag     : 1
Active         : Y                      EgrStatsState  : Up
 Next-hop Group   : 1                      
  Primary nexthop : 10.10.5.5  
   StatsOperState : Up
   Aggr Pkts: 11000                    Aggr Octets: 11550000           
  Backup nexthop  : 10.10.11.4  
   StatsOperState : Up
   Aggr Pkts: 11000                    Aggr Octets: 11550000           
 Next-hop Group   : 2                      
  Primary nexthop : 10.10.5.5  
   StatsOperState : Up
   Aggr Pkts: 11000                    Aggr Octets: 11550000             
  Backup nexthop  : 10.10.11.4  
   StatsOperState : Up
   Aggr Pkts: 11000                    Aggr Octets: 11550000 
Total Aggr        :
   Aggr Pkts: 44000                    Aggr Octets: 46200000
-------------------------------------------------------------------------------
===============================================================================

tunnel

Syntax 
tunnel [{ip-address | ipv6-address}] [detail]
tunnel [{ip-address | ipv6-address}] egress-stats
Context 
show>router>rib-api
Description 

This command displays RIB-API tunnel information.

Parameters 
ip-address—
Specifies the IPv4 address of the RIB-API tunnel up to 64 characters.
ipv6-address—
Specifies the IPv6 address of the RIB-API tunnel up to 64 characters.
detail—
Displays detailed RIB-API tunnel information.
egress-stats—
Displays egress statistics of all instances for the specified RIB-API tunnel.
Output 

The following output is an example of RIB-API tunnel information.

Sample Output
show router rib-api tunnel 10.20.1.5 egress-stats
===============================================================================
Tunnel (Detail)
===============================================================================
Tunnel         : 10.20.1.5              Rib-Api Pref   : 16
Client Ip      : 172.21.38.76           Client Tag     : 1
Active         : Y                      EgrStatsState  : Up
 Next-hop Group   : 1                      
  Primary nexthop : 10.10.5.5  
   StatsOperState : Up
   Aggr Pkts: 11000                    Aggr Octets: 11550000           
  Backup nexthop  : 10.10.11.4  
   StatsOperState : Up
   Aggr Pkts: 11000                    Aggr Octets: 11550000           
 Next-hop Group   : 2                      
  Primary nexthop : 10.10.5.5  
   StatsOperState : Up
   Aggr Pkts: 11000                    Aggr Octets: 11550000             
  Backup nexthop  : 10.10.11.4  
   StatsOperState : Up
   Aggr Pkts: 11000                    Aggr Octets: 11550000 
Total Aggr        :
   Aggr Pkts: 44000                    Aggr Octets: 46200000
-------------------------------------------------------------------------------
===============================================================================

7.12.2.2. Clear Commands

rib-api

Syntax 
rib-api
Context 
clear>router
Description 

This command clears RIB-API protocol entities information.

label

Syntax 
label label preference preference client-tag client-tag egress-stats
label label ingress-stats
Context 
clear>router>rib-api
Description 

Clears the egress or ingress statistics of the specified RIB-API label.

Parameters 
label—
Specifies the label of the specified RIB-API entry.
Values—
32 to 1048575

 

preference—
Specifies the preference of the specified RIB-API entry.
Values—
0 to 4294967295

 

client-tag—
Specifies the client tag of the specified RIB-API entry.
Values—
0 to 4294967295

 

egress—
Specifies to only clear the egress statistics.
ingress—
Specifies to only clear the ingress statistics.

tunnel

Syntax 
tunnel {ip-address | ipv6-address} preference preference client-tag client-tag egress-stats
Context 
clear>router>rib-api
Description 

Clears the egress statistics of the specified RIB-API tunnel.

Parameters 
ip-address—
Specifies the IPv4 address of the RIB-API tunnel up to 64 characters.
ipv6-address—
Specifies the IPv6 address of the RIB-API tunnel up to 64 characters.
preference—
Specifies the preference of the specified RIB-API entry.
Values—
0 to 4294967295

 

client-tag—
Specifies the client tag of the specified RIB-API entry.
Values—
0 to 4294967295

 

egress—
Specifies to clear the egress statistics.

7.12.2.3. Monitor Commands

rib-api

Syntax 
rib-api
Context 
monitor>router
Description 

This command monitors the RIB-API protocol entities information.

label

Syntax 
label label preference preference client-tag client-tag egress-stats [interval seconds] [repeat repeat] [{absolute | rate}]
Context 
monitor>router>rib-api
Description 

This command monitors the egress statistics of the specified RIB-API label.

Parameters 
label—
Specifies the label of the specified RIB-API entry.
Values—
0 to 4294967295

 

preference—
Specifies the preference of the specified RIB-API entry.
Values—
0 to 4294967295

 

client-tag—
Specifies the client tag of the specified RIB-API entry.
Values—
0 to 4294967295

 

egress-stats—
Specifies to monitor the egress statistics of the specified RIB-API label.
seconds—
Configures the interval for each display in seconds.
Values—
3 to 60

 

repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

absolute—
Displays the absolute statistics of the specified RIB-API label.
rate—
Displays the rate-per-second statistics of the specified RIB-API label.

tunnel

Syntax 
tunnel {ip-address | ipv6-address} preference preference client-tag client-tag egress-stats [interval seconds] [repeat repeat] [{absolute | rate}]
Context 
monitor>router>rib-api
Description 

This command monitors the egress statistics of the specified RIB-API tunnel.

Parameters 
ip-address—
Specifies the IPv4 address of the RIB-API tunnel up to 64 characters.
ipv6-address—
Specifies the IPv6 address of the RIB-API tunnel up to 64 characters.
preference—
Specifies the preference of the specified RIB-API entry.
Values—
0 to 4294967295

 

client-tag—
Specifies the client tag of the specified RIB-API entry.
Values—
0 to 4294967295

 

egress-stats—
Specifies to monitor the egress statistics of the specified RIB-API tunnel.
seconds—
Configures the interval for each display in seconds.
Values—
3 to 60

 

repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

absolute—
Displays the absolute statistics of the specified RIB-API tunnel.
rate—
Displays the rate-per-second statistics of the specified RIB-API tunnel.