show udld

Syntax

show udld [interface <INTERFACE-NAME>] [vsx-peer]

Description

Displays UDLD information for all interfaces or for a specific interface.

Command context

Operator (>) or Manager (#)

Parameters

interface <INTERFACE-NAME>

Specifies the name of a logical interface on the switch. This can be:

  • An Ethernet interface associated with a physical port. Some switches (such as the Aruba 8400 Switch Series), use the format member/slot/port (for example, 1/1/1). Other switches use slot/port (for example, 1/1).

  • UDLD runs only on physical interfaces. LAGs, tunnels, and the like are not supported. However, UDLD can be configured individually on each port of a LAG or trunk group. Configuring UDLD on a trunk group's primary port enables UDLD on that port only.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

Displaying all UDLD information:

switch# show udld

Abbreviations:
 VTF - Verify-then-forward    FTV - Forward-then-verify
 NOR - RFC 5171 normal        AGG - RFC 5171 aggresive

----------------------------------------------------------------------
Interface  UDLD      UDLD      UDLD           UDLD    Mode  Interval  
           Config    State     Substate       Link
----------------------------------------------------------------------
1/1/1      Disabled  Inactive  Undetermined   Unblock FTV   8000
1/1/2      Enabled   Active    Bidirectional  Unblock FTV   7000
1/1/3      Enabled   Active    Blocked        Block   FTV   7000
1/1/4      Enabled   Inactive  Uninitialized  Unblock NOR   7000
1/1/5      Enabled   Active    ErrDisabled    Block   AGG   7000
1/1/6      Disabled  Active    Detection      Unblock NOR   7000

---------------------------------------------------------------
Retries  Tx       Rx       Rx          Rx          Transitions
         Pkts     Pkts     Pkts disc.  Pkts drop.
---------------------------------------------------------------
4        4        54       123         123         1
7        1234567  1548421  23214       1878981     3
4        3        77871    2157        81878       1
5        50       0        0           0           0
3        150      25       0           2           1
3        6        54       123         23          1

Displaying information for interface 1/1/1:

switch# show udld interface 1/1/1

Interface 1/1/1
 Config: Enabled
 State: Active
 Substate: Bidirectional
 Link: Unblock
 Version: Aruba OS
 Mode: Forward then verify
 Interval: 7000 milliseconds
 Retries: 7
 Tx: 1234567 packets
 Rx: 1548421 packets, 23214 discarded packets, 1878981 dropped packets
 Port transitions: 3