Install guide

10 Software Reference
LLDP Triggers
You can use the Trigger Facility to automatically run specific command scripts
when particular triggers are activated. When a trigger is activated by an event,
parameters specific to the event are passed to the script that is run. Triggers can
be activated:
when the LLDP remote systems MIB changes
when LLDP too many neighbour events occur
For more information about the Trigger Facility, see Chapter 5, Trigger Facility.
Module LLDP
Event LLDPRemotetablechange
Description The LLDP remote systems MIB changes.
Parameters You cannot specify any command parameters in the create trigger command.
Script arguments The trigger passes arguments in the following table to the script:
Example To create trigger 1, which activates whenever the LLDP remote systems MIB
changes, use the command:
create trigger=<number> module=lldp
event=lldpremotetablechange
Module LLDP
Event LLDPToomanyneighbours
Description There are too many active LLDP neighbours in the network.
Parameters You cannot specify any command parameters in the create trigger command.
Script arguments The trigger passes arguments in the following table to the script:
Example To create trigger 1, which activates whenever there are too many active LLDP
neighbours in the network, use the command:
create trigger=<number> module=lldp
event=lldptoomanyneighbours
Argument Description
%1 Value of LLDP MIB object lldpStatsRemTablesInserts
%2 Value of LLDP MIB object lldpStatsRemTablesDeletes
%3 Value of LLDP MIB object lldpStatsRemTablesDrops
%4 Value of LLDP MIB object lldpStatsRemTablesAgeouts
Argument Description
%1 The system name of the neighbour that was refused
%2 The port description of the port on which the LLDPDU was received