Management and Configuration Guide K/KA/KB.15.15

Examples
Example 94 A global LLDP statistics display
(HP_Switch_name#) show lldp stats
LLDP Device Statistics
Neighbor Entries List Last Updated : 2 hours
New Neighbor Entries Count : 20
Neighbor Entries Deleted Count : 20
Neighbor Entries Dropped Count : 0
Neighbor Entries AgeOut Count : 20
LLDP Port Statistics
Port | NumFramesRecvd NumFramesSent NumFramesDiscarded
------ + -------------- ------------- ------------------
A1 | 97317 97843 0
A2 | 21 12 0
A3 | 0 0 0
A4 | 446 252 0
A5 | 0 0 0
A6 | 0 0 0
A7 | 0 0 0
A8 | 0 0 0
Example 95 A per-port LLDP statistics display
(HP_Switch_name#) show lldp stats 1
LLDP Port Statistics Detail
PortName : 1
Frames Discarded : 0
Frames Invalid : 0
Frames Received : 7309
Frames Sent : 7231
TLVs Unrecognized : 0
TLVs Discarded : 0
Neighbor Ageouts : 0
Configuring CDP mode
To set the CDP mode to pass-through or receive only, enter this command.
Syntax
[no]cdp moden[pass-through|rxonly]
Sets the selected mode of CDP processing.
Viewing the current CDP configuration of the switch
CDP is shown as enabled/disabled both globally on the switch and on a per-port basis.
Syntax
show cdp
Lists the global and per-port CDP configuration of the switch.
Configuring CDP mode 235