A new test module has been added that tests the functionality of the Link Layer Discovery Protocol (LLDP), as defined in IEEE 802.1AB-2009. LLDP is a link layer protocol that allows devices connected to a local area network to advertise their capabilities, identities, MAC address(es), and neighbors. In order to run these tests, several testvars need to be set in the CDRouter configuration file.
supportsLLDP must be set to
yes to run any LLDP
testvar supportsLLDP yes
In addition, the following testvars can be set to reflect the expected behavior of the DUT:
# This parameter defines the expected MAC address used by the DUT to # transmit LLDP frames on the LAN. testvar lldpLanMac # This parameter defines the expected MAC address used by the DUT in # the Chassis TLV of LLDP frames transmitted on the LAN. testvar lldpLanChassisMac # This parameter defines the number of seconds between LLDP frame # transmissions by the DUT during fast transmission periods. testvar lldpMsgFastTx # This parameter defines the number of seconds between LLDP frame # transmissions by the DUT during normal transmission periods. testvar lldpMsgTxInterval # This parameter defines the number of LLDP frames that are transmitted # by the DUT during a fast transmission period. testvar lldpTxFastInit