show link-oam statistics

Displays the OAM statistics of OAM-enabled ports.
Syntax
show link-oam statistics [ detail [ ethernet stackid/slot/port [ [ to stackid/slot/port ] [ ethernet stackid/slot/port ]... ] ] ]
Parameters
detail
Displays detailed EFM-OAM statistics.
ethernet
Displays the detailed EFM-OAM statistics of a specific ethernet interface.
stackid/slot/port
Specifies the interface details.
to
Configures a range of interfaces.
Modes

Privileged EXEC mode

Global configuration mode

EFM-OAM protocol configuration mode

The show link-oam statistics command displays the following information:

Output field Description
Tx PDUs Displays the number of PDUs transmitted
Rx PDUs Displays the number of PDUs received
information OAMPDUs Displays the number of information OAMPDUs transmitted/received
loopback control OAMPDUs Displays the number of loopback control OAMPDUs transmitted/received
variable request OAMPDUs Displays the number of variable request OAMPDUs transmitted/received
variable response OAMPDUs Displays the number of variable response OAMPDUs transmitted/received
unique event notification OAMPDUs Displays the number of unique event notification OAMPDUs transmitted/received
duplicate event notification OAMPDUs Displays the number of duplicate event notification OAMPDUs transmitted/received
organization specific OAMPDUs Displays the number of organization specific OAMPDUs transmitted/received
link-fault records Displays the number of link-fault records transmitted/received
critical-event records Displays the number of critical-event records transmitted/received
dying-gasp records Displays the number of dying-gasp records transmitted/received
loopback control OAMPDUs dropped Displays the number of dropped loopback control OAMPDUs
unsupported OAMPDUs Displays the number of unsupported OAMPDUs
discarded TLVs Displays the number of discarded TLVs
unrecognized TLVs Displays the number of unrecognized TLVs
Examples

The following example displays the OAM statistics on all EFM-OAM-enabled ports.

device(config)# show link-oam statistics
Ethernet Tx Pdus         Rx Pdus        
10/1/1   377908          377967         
10/1/3   400             44             
10/1/4   400             385            
10/1/5   400             385            
10/1/6   400             385 

The following example displays detailed EFM-OAM statistics on all EFM-OAM-enabled ports.

device(config)# show link-oam statistics detail
OAM statistics for Ethernet port: 10/1/1
        Tx statistics
                information OAMPDUs:                   377908
                loopback control OAMPDUs:              0
                variable request OAMPDUs:              0
                variable response OAMPDUs:             0
                unique event notification OAMPDUs:     0
                duplicate event notification OAMPDUs:  0
                organization specific OAMPDUs:         0
                link-fault records:                    0
                critical-event records:                0
                dying-gasp records:                    0
        Rx statistics
                information OAMPDUs:                   377967
                loopback control OAMPDUs:              0
                loopback control OAMPDUs dropped:      0
                variable request OAMPDUs:              0
                variable response OAMPDUs:             0
                unique event notification OAMPDUs:     0
                duplicate event notification OAMPDUs:  0
                organization specific OAMPDUs:         0
                unsupported OAMPDUs:                   0
                link-fault records:                    0
                critical-event records:                377395     
                dying-gasp records:                    0
                discarded TLVs:                        0
                unrecognized TLVs:                     0

OAM statistics for Ethernet port: 10/1/3
        Tx statistics
                information OAMPDUs:                   427
                loopback control OAMPDUs:              0
                variable request OAMPDUs:              0
                variable response OAMPDUs:             0
                unique event notification OAMPDUs:     0
                duplicate event notification OAMPDUs:  0
                organization specific OAMPDUs:         0
                link-fault records:                    0
                critical-event records:                0
                dying-gasp records:                    0
        Rx statistics
                information OAMPDUs:                   44
                loopback control OAMPDUs:              0
                loopback control OAMPDUs dropped:      0
                variable request OAMPDUs:              0
                variable response OAMPDUs:             0
                unique event notification OAMPDUs:     0          
                duplicate event notification OAMPDUs:  0
                organization specific OAMPDUs:         0
                unsupported OAMPDUs:                   0
                link-fault records:                    0
                critical-event records:                0
                dying-gasp records:                    0
                discarded TLVs:                        0
                unrecognized TLVs:                     0

OAM statistics for Ethernet port: 10/1/4
        Tx statistics
                information OAMPDUs:                   428
                loopback control OAMPDUs:              0
                variable request OAMPDUs:              0
                variable response OAMPDUs:             0
                unique event notification OAMPDUs:     0
                duplicate event notification OAMPDUs:  0
                organization specific OAMPDUs:         0
                link-fault records:                    0
                critical-event records:                0
                dying-gasp records:                    0
        Rx statistics
                information OAMPDUs:                   413        
                loopback control OAMPDUs:              0
                loopback control OAMPDUs dropped:      0
                variable request OAMPDUs:              0
                variable response OAMPDUs:             0
                unique event notification OAMPDUs:     0
                duplicate event notification OAMPDUs:  0
                organization specific OAMPDUs:         0
                unsupported OAMPDUs:                   0
                link-fault records:                    0
                critical-event records:                350
                dying-gasp records:                    0
                discarded TLVs:                        0
                unrecognized TLVs:                     0

The following example displays detailed EFM-OAM statistics on a range of EFM-OAM-enabled ports.

device(config)# show link-oam statistics detail ethernet 1/1/3 to 1/1/8
OAM statistics for Ethernet port: 1/1/3
        Tx statistics
                information OAMPDUs:                   255390
                loopback control OAMPDUs:              0
                variable request OAMPDUs:              0
                variable response OAMPDUs:             0
                unique event notification OAMPDUs:     0
                duplicate event notification OAMPDUs:  0
                organization specific OAMPDUs:         0
                link-fault records:                    0
                critical-event records:                0
                dying-gasp records:                    0
        Rx statistics
                information OAMPDUs:                   282796
                loopback control OAMPDUs:              0
                loopback control OAMPDUs dropped:      0
                variable request OAMPDUs:              0
                variable response OAMPDUs:             0
                unique event notification OAMPDUs:     0
                duplicate event notification OAMPDUs:  0
                organization specific OAMPDUs:         0
                unsupported OAMPDUs:                   0
                link-fault records:                    0
                critical-event records:                0
                dying-gasp records:                    0
                discarded TLVs:                        0
                unrecognized TLVs:                     0

Link OAM is not enabled on port 1/1/4
Link OAM is not enabled on port 1/1/5
Link OAM is not enabled on port 1/1/6
Link OAM is not enabled on port 1/1/7
Link OAM is not enabled on port 1/1/8
History
Release version Command history
08.0.30 This command was introduced.