< Home

display cdp neighbor brief

Function

The display cdp neighbor brief command displays brief information about CDP neighbors of the device.

Format

display cdp neighbor brief

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run this command to quickly view brief information about CDP neighbors connected to a switch, such as CDP neighbor names and interfaces on which CDP neighbor relationships are set up.

Prerequisites

LLDP has been enabled globally using the lldp enable (system view) command, and LLDP compatibility with CDP has been enabled on the specified interface using the lldp compliance cdp receive command.

Example

# Display brief information about CDP neighbors.

<HUAWEI> display cdp neighbor brief
Local Intf       Neighbor Dev             Neighbor Intf             Exptime(s)
GE0/0/1          ME3400                   GE0/0/4                   144
Table 1 Description of the display cdp neighbor brief command output

Item

Description

Local Intf

Local interface of the switch that sets up a CDP neighbor relationship with a peer device.

Neighbor Dev

Name of a CDP neighbor.

Neighbor Intf

Interface of a peer device that sets up a CDP neighbor relationship with the switch.

Exptime(s)

Time left before a CDP neighbor relationship expires, in seconds.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >