summaryrefslogtreecommitdiff
path: root/isisd/isisd.h
diff options
context:
space:
mode:
authorIsabella de Leon <ideleon@microsoft.com>2023-03-28 16:18:59 -0700
committerIsabella de Leon <ideleon@microsoft.com>2023-03-28 16:25:01 -0700
commitf64adebdee6be8f17b8dec66b8dcce0b1a869220 (patch)
tree05f1d7f49b53b2519e1d83d40866c5c64a6bfdea /isisd/isisd.h
parent9b00c0a1657230ad9f2a437651cd05c3b7e02d06 (diff)
isisd: Add PDU drop counter to "show isis summary"
Adding a new drop counters section to "show isis summary". New output: Drop counters per PDU type: P2P IIH: <count> L2 LSP: <count> L2 CSNP: <count> L2 PSNP: <count> ... Before: r1# show isis summary vrf : default Process Id : 972 System Id : 0000.0000.0001 Up time : 00:00:48 ago Number of areas : 1 Area TE: Net: 49.0000.0000.0000.0001.00 TX counters per PDU type: P2P IIH: 36 L2 LSP: 8 L2 CSNP: 12 L2 PSNP: 11 RX counters per PDU type: P2P IIH: 37 L2 LSP: 17 L2 CSNP: 12 L2 PSNP: 6 Advertise high metrics: Disabled ... After: r1# show isis summary vrf : default Process Id : 972 System Id : 0000.0000.0001 Up time : 00:00:19 ago Number of areas : 1 Area TE: Net: 49.0000.0000.0000.0001.00 TX counters per PDU type: P2P IIH: 16 L2 LSP: 2 L2 CSNP: 4 L2 PSNP: 6 LSP RXMT: 0 RX counters per PDU type: P2P IIH: 16 L2 LSP: 5 L2 CSNP: 4 L2 PSNP: 2 Drop counters per PDU type: P2P IIH: 2 Advertise high metrics: Disabled ... Signed-off-by: Isabella de Leon <ideleon@microsoft.com>
Diffstat (limited to 'isisd/isisd.h')
-rw-r--r--isisd/isisd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h
index a06dc46a38..0b1f1cb620 100644
--- a/isisd/isisd.h
+++ b/isisd/isisd.h
@@ -232,6 +232,7 @@ struct isis_area {
pdu_counter_t pdu_tx_counters;
pdu_counter_t pdu_rx_counters;
+ pdu_counter_t pdu_drop_counters;
uint64_t lsp_rxmt_count;
/* Area counters */