]> git.puffer.fish Git - mirror/frr.git/commit
isisd: Add PDU drop counter to "show isis summary" 13133/head
authorIsabella de Leon <ideleon@microsoft.com>
Tue, 28 Mar 2023 23:18:59 +0000 (16:18 -0700)
committerIsabella de Leon <ideleon@microsoft.com>
Tue, 28 Mar 2023 23:25:01 +0000 (16:25 -0700)
commitf64adebdee6be8f17b8dec66b8dcce0b1a869220
tree05f1d7f49b53b2519e1d83d40866c5c64a6bfdea
parent9b00c0a1657230ad9f2a437651cd05c3b7e02d06
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>
isisd/isis_pdu.c
isisd/isisd.c
isisd/isisd.h