display gtsm statistics

Function

The display gtsm statistics command displays GTSM statistics on a specified slot or all slots.

Format

display gtsm statistics { slot-id | all }

Parameters

Parameter Description Value
slot-id

Slot ID.

-

all

Displays GTSM statistics on all slots.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
hostdefend read

Usage Guidelines

Usage Scenario

You can run the display gtsm statistics command to view GTSM statistics, including the total number of BGP, LDP, RIP, OSPF, OSPFv3, and BGPv6 packets, the number of packets that have passed, and the number of discarded packets, on all slots or a specific slot.

In VS mode, this command is supported only by the admin VS.

Example

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

# Display GTSM statistics on all slots.
<HUAWEI> display gtsm statistics all
GTSM Statistics Table
---------------------------------------------------------------
SlotId  Protocol   Total Counters  Drop Counters  Pass Counters
---------------------------------------------------------------
2       BGP                    18              0             18
2       BGPv6                   0              0              0
2       OSPF                    0              0              0
2       LDP                     0              0              0
2       OSPFv3                  0              0              0
2       RIP                     0              0              0
---------------------------------------------------------------
Table 1 Description of the display gtsm statistics command output
Item Description
SlotId

Slot ID.

Protocol
Protocol type:
  • Software-based forwarding: protocol differentiated.
  • Hardware-based forwarding: protocol undifferentiated, displaying "-----".
Total Counters

Total number of packets.

Drop Counters

Total number of dropped packets.

Pass Counters

Total number of packets that have passed.

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