Displaying VLACP Statistics for Specific Ports

Display VLACP statistics for specific ports to manage network performance.

Note

Note

Slot and port information can differ depending on hardware platform.

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 [{slot/port[/sub-port][-slot/port[/sub-port]][,...]} ]

  6. Optional: Clear VLACP statistics:

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

  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
--------------------------------------------------------------------------------
8/1        106058     105554     0
12/11      15         12         0
12/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]][,...]}

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), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

Job Aid

The following table describes fields in the output for the show interfaces gigabitEthernet statistics vlacp command.

Field

Description

PORT NUM

Shows the slot and port number.

TX VLACPDU

Shows the number of VLACPDUs transmitted on the port.

RX VLACPDU

Shows the number of valid VLACPDUs received on the port.

SEQNUM MISMATCH

Shows the number of mismatched VLACPDUs in terms of received sequence numbers on the port.