Display VLACP Statistics for Specific Ports

Display VLACP statistics for specific ports to manage network performance.

About this task

You can enable sequence numbers for each VLACPDU to assist in monitoring performance. The switch counts mismatched PDU sequence numbers to determine packet loss information. By default, sequence numbers are enabled.

You can use the show commands from Privileged EXEC mode but must enter Global Configuration mode to enable or disable the sequence numbers.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Confirm sequence numbers are enabled:

    show vlacp

  3. Optional: Enable sequence numbers for VLACPDUs:

    vlacp sequence-num

  4. View VLACP statistics:

    show interfaces gigabitEthernet statistics vlacp [{slot/port[/sub-port][-slot/port[/sub-port]][,...]} ]

  5. Optional: View VLACP statistics history:

    show interfaces gigabitEthernet statistics vlacp history [{sub-port]][,...][slot/all][all]}]

  6. Optional: Clear VLACP statistics:

    clear vlacp stats [port {sub-port]][,...][slot/all][all]}]

  7. Optional: Disable sequence numbers for VLACPDUs:

    no vlacp sequence-num

Example

Determine if sequence numbers are enabled, and then view port statistics. Port numbering may differ depending on your product and configuration.

Switch:1(config)#show vlacp 

================================================================================
                            Vlacp Global Information 
================================================================================
                SystemId: 32:11:9f:20:00:00
                   Vlacp: enable
   Vlacp Sequence Number: enable

Switch:1(config)#show interfaces gigabitEthernet statistics vlacp
================================================================================
                                Port Stats Vlacp
================================================================================
PORT       TX         RX         SEQNUM
NUM        VLACPDU    VLACPDU    MISMATCH
--------------------------------------------------------------------------------
1/1       106058     105554     0
1/11      15         12         0
1/23      0          0          0

Variable Definitions

Use the data in the following table to use the commands in this procedure.

Variable

Value

{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:
  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.