show neighbors

Mode

Switch command, read‐write.

Example

This example shows how to reset the CDP state to auto‐enabled:

C3(su)->clear cdp state

show neighbors

This command displays Neighbor Discovery information for either the CDP or Cisco DP protocols.

Syntax

show neighbors [port-string]

Parameters

port‐string

(Optional) Specifies the port or ports for which to display Neighbor

 

Discovery information.

 

 

Defaults

If no port is specified, all Neighbor Discovery information is displayed.

Mode

Switch command, read‐only.

Usage

This command displays information discovered by both the CDP and the Cisco DP protocols.

Example

This example displays Neighbor Discovery information for all ports.

C3(su)->show neighbors

Port Device IDPort IDType Network Address

------------------------------------------------------------------------------

ge.1.1

00036b8b1587

12.227.1.176

ciscodp

12.227.1.176

ge.1.6

0001f496126f

140.2.3.1

ciscodp

140.2.3.1

ge.1.6

00-01-f4-00-72-fe

140.2.4.102

cdp

140.2.4.102

ge.1.6

00-01-f4-00-70-8a

140.2.4.104

cdp

140.2.4.104

ge.1.6

00-01-f4-c5-f7-20

140.2.4.101

cdp

140.2.4.101

ge.1.6

00-01-f4-89-4f-ae

140.2.4.105

cdp

140.2.4.105

ge.1.6

00-01-f4-5f-1f-c0

140.2.1.11

cdp

140.2.1.11

ge.1.19

0001f400732e

165.32.100.10

ciscodp

165.32.100.10

6-6 Discovery Protocol Configuration

Page 138
Image 138
Enterasys Networks 9034313-07 manual Show neighbors, Switch command, read‐only