Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     
     

    Monitoring Media Access Control Security (MACSec) Statistics

    Purpose

    Monitor MACSec traffic statistics for traffic transmitted and received on an interface that has enabled MACSec.

    Action

    To view the MACSec traffic statistics for an interface, enter the following command and review the information in the MACSec statistics section of the output:

    user@switch> show interfaces interface-name extensive
    MACSec statistics:
    Output
    Secure Channel Transmitted
    Protected Packets               : 0
    Encrypted Packets               : 5206058995
    Protected Bytes                 : 0
    Encrypted Bytes                 : 583078607440
    Input
    Secure Channel Received
    Accepted Packets                : 5206058995
    Validated Bytes                 : 0
    Decrypted Bytes                 : 583078607440

    Meaning

    The following list provides an explanation of each MACSec statistic in the Output Secure Channel Transmitted section of this command:

    • Protected Packets—the number of packets sent from the interface that were secured using MACSec when encryption was disabled.

      In this example, the output is 0 because encryption is enabled.

    • Encrypted Packets—the number of packets sent from the interface that were secured and encrypted using MACSec.

      In this example, 5206058995 packets have been sent from the interface that were secured and encrypted using MACSec.

    • Protected Bytes—the number of bytes sent from the interface that were secured using MACSec, but not encrypted.

      In this example, the output is 0 because encryption is enabled.

    • Encrypted Bytes—the number of packets sent from the interface that were secured and encrypted using MACSec.

      In this example, 583078607440 bytes have been sent from the interface that were secured and encrypted using MACSec.

    The following list provides an explanation of each MACSec statistic in the Input Secure Channel Received section of this command:

    • Accepted Packets—the number of received packets that have been accepted on the interface. A packet is considered accepted for this counter when it has been received by this interface and it has passed the MACSec integrity check. This counter increments for traffic that is and is not encrypted using MACSec.
    • Validated Bytes—the number of bytes that have been validated by the MACSec integrity check and received on the interface. This counter does not increment when MACSec encryption is disabled.
    • Decrypted Bytes—the number of bytes received on the interface that have been decrypted. An encrypted byte has to be decryped before it can be received on the receiving interface. The decrypted bytes counter is incremented for received traffic that was encrypted using MACSec.
     
     

    Published: 2013-10-01