Management and Configuration Guide K/KA/KB.15.15

Enables or disables each port in <port-list> for sending notification to configured SNMP
trap receivers if an LLDP data change is detected in an advertisement received on the port from
an LLDP neighbor.
(Default: Disabled)
Example
This command enables SNMP notification on ports 1 - 5:
(HP_Switch_name#) lldp enable-notification 1-5
Minimal interval for successive data change notifications
To change the minimum interval for successive data change notifications for the same neighbor,
use the following command.
Syntax
setmib lldpnotificationinterval.0 -i 1 - 3600
Globally changes the interval between successive traps generated by the switch. If multiple traps
are generated in the specified interval, only the first trap is sent. The remaining traps are suppressed.
(A network management application can periodically check the switch MIB to detect any missed
change notification traps. See IEEE P802.1AB or later for more information.)
(Default: 5 seconds)
Example
The following command limits change notification traps from a particular switch to one per minute.
(HP_Switch_name#) setmib lldpnotificationinterval.0 -i 60 lldpNotificationInterval.0=60
Configuring per-port transmit and receive modes
Syntax
lldp admin-status <port-list> txonly | rxonly | tx_rx | disable
With LLDP enabled on the switch in the default configuration, each port is configured to transmit
and receive LLDP packets. These options enable you to control which ports participate in LLDP
traffic and whether the participating ports allow LLDP traffic in only one direction or in both
directions.
Configures the specified ports to transmit LLDP packets, but block inbound
LLDP packets from neighbor devices.
txonly
Configures the specified ports to receive LLDP packets from neighbors,
but block outbound packets to neighbors.
rxonly
Configures the specified ports to both transmit and receive LLDP packets.
(This is the default setting.)
tx_rx
Disables LLDP packet transmit and receive on the specified ports.disable
Configuring a remote management address for outbound LLDP
advertisements
This is an optional command you can use to include a specific IP address in the outbound LLDP
advertisements for specific ports.
Minimal interval for successive data change notifications 223