MACsec Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

PDF

MACsec Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

MACsec SecY statistics

Want to summarize with AI?

Log in

Provides comprehensive guidance on monitoring and troubleshooting MACsec performance using SecY statistics, SNMP MIBs, and CLI commands to ensure secure network management and diagnostics.


This chapter provides comprehensive guidance on monitoring and troubleshooting MACsec performance using SecY statistics, SNMP MIBs, and CLI commands. Users can learn how to access detailed encryption and decryption metrics, retrieve MACsec interface indexes, and perform SNMP queries for secure network management and diagnostics.


Query SNMP statistics

Administrators can query SNMP statistics through the CLI to view detailed information about MACsec SecY statistics on a specific interface.

Use the show macsec secy statistics interface command to display detailed MACsec SecY statistics for a specified interface.

  • Example:

    Router# show macsec secy stats interface hundredGigE 0/1/0/10 sc
    
    Interface Stats
        InPktsUntagged     :  0
        InPktsNoTag        :  0
        InPktsBadTag       :  0
        InPktsUnknownSCI   :  0
        InPktsNoSCI        :  0
        InPktsOverrun      :  0
        InOctetsValidated  :  0
        InOctetsDecrypted  :  0
        OutPktsUntagged    :  0
        OutPktsTooLong     :  0
        OutOctetsProtected :  0
        OutOctetsEncrypted :  0
    
    SC Stats
      TxSC Stats
        OutPktsProtected   : 0
        OutPktsEncrypted   : 0
        OutOctetsProtected : 0
        OutOctetsEncrypted : 0
        OutPktsTooLong     : 0
        TxSA Stats
          TxSA 0: 
            OutPktsProtected : 0
            OutPktsEncrypted : 0
            NextPN           : 1
          TxSA 1: 
            OutPktsProtected : 0
            OutPktsEncrypted : 0
            NextPN           : 0
          TxSA 2: 
            OutPktsProtected : 0
            OutPktsEncrypted : 0
            NextPN           : 0
          TxSA 3: 
            OutPktsProtected : 0
            OutPktsEncrypted : 0
            NextPN           : 0
    
      RxSC Stats
        RxSC 1: 10000742d968a00
          InPktsUnchecked     : 0
          InPktsDelayed       : 0
          InPktsLate          : 0
          InPktsOK            : 0
          InPktsInvalid       : 0
          InPktsNotValid      : 0
          InPktsNotUsingSA    : 0
          InPktsUnusedSA      : 0
          InPktsUntaggedHit   : 0
          InOctetsValidated   : 0
          InOctetsDecrypted   : 0
        RxSA Stats
          RxSA 0: 
            InPktsUnusedSA      : 0
            InPktsNotUsingSA    : 0
            InPktsNotValid      : 0
            InPktsInvalid       : 0
            InPktsOK            : 0
            NextPN              : 1
          RxSA 1: 
            InPktsUnusedSA      : 0
            InPktsNotUsingSA    : 0
            InPktsNotValid      : 0
            InPktsInvalid       : 0
            InPktsOK            : 0
            NextPN              : 0
          RxSA 2: 
            InPktsUnusedSA      : 0
            InPktsNotUsingSA    : 0
            InPktsNotValid      : 0
            InPktsInvalid       : 0
            InPktsOK            : 0
            NextPN              : 0
          RxSA 3: 
            InPktsUnusedSA      : 0
            InPktsNotUsingSA    : 0
            InPktsNotValid      : 0
            InPktsInvalid       : 0
            InPktsOK            : 0
            NextPN              : 0
    
  • On Cisco 8712-MOD-M routers, all TxSC (Transmit Secure Channel) counters display a value of zero. This behavior occurs due to a hardware limitation — K100 ASIC-based systems used in these routers do not support the collection of TxSC statistics.