-
Notifications
You must be signed in to change notification settings - Fork 18
Cisco Discovery Protocol
The tools available in the CDP component are:
-
CDP Neighbours: for a given switch, display its CDP neighbours with information and also a graph showing connected ports.
-
CDP L2 Topology: graph the layer 2 network topology based on a recursive crawl of CDP neighbours.
-
RSTP and MST Topology & Port Roles: similar to CDP L2 Topology above but this takes a specific PVRSTP VLAN or MST instance and identifies and graphs Per-VLAN / instance Spanning Tree port roles.
Note that each of the above take an initial node from the devices configuration file and they require that the community
option is configured in application/configs/application.ini
.
In many cases, you may have customer kit connected with CDP enabled for operational reasons but you may not have SNMP access to these devices. A lot of the CDP components may hang until SNMP polling of these devices time out or, in some cases, the action may fail with an exception.
For any devices that fall into this category, put their CDP neighbour ID into the cdp.l2topology.ignore[]
array in application/configs/application.ini
. For example:
cdp.l2topology.ignore[] = 'sw01.cust1.example.ie'
cdp.l2topology.ignore[] = 'sw01.cust2.example.com'
cdp.l2topology.ignore[] = 'edge1.cust2.example.com'