To display information about all ANCP neighbors:
show l2C neighbor [ name neighborName | id neighborIdMac ] [ brief ] [ filter ]
To display the number of active neighbors:
show l2C neighbor [ summary ] [ filter ]
Command introduced before JunosE Release 7.1.0.
filter variable added in JunosE Release 13.2.0.
Displays information about known ANCP neighbors on the router and their configurations.
Privileged Exec