# show l2c neighbor

#### Syntax

To display information about all ANCP neighbors:

show l2C neighbor [ name neighborName | id neighborIdMac ] [ brief ]

To display the number of active neighbors:

show l2C neighbor [ summary ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Displays information about known ANCP neighbors on the router and their configurations.

#### Options

- neighborName—Name of the neighbor for which you want to view ANCP information
- neighborIdMac—ID of the neighbor for which you want to view ANCP information
- brief—Displays limited information
- summary—Displays the number of active neighbors

#### Mode

Privileged Exec