The device-sensor lldp tlv command enables the LLDP-based terminal type awareness function.
The undo device-sensor lldp tlv command disables the LLDP-based terminal type awareness function.
By default, the LLDP-based terminal type awareness function is disabled.
Parameter | Description | Value |
---|---|---|
tlv-type | Specifies the LLDP TLV type as the terminal type to be aware of the device. |
The value is an integer that can be 1, 2, 5, 6, 7, 8, and 127. The values are as follows:
|
Usage Scenario
A device usually connects to many types of terminals. You may need to assign different network access rights or packet processing priorities to the terminals of different types. For example, the voice devices, such as IP phones, should be assigned a high packet processing priority because voice signals require low delay and jitter.
Using the LLDP-based terminal type awareness function, the device parses the required TLV type containing terminal type information from the received LLDP packets. The device then sends the TLV type information to the RADIUS server through a RADIUS accounting packet. Through the TLV type information, the RADIUS server knows the terminal types and controls the network access rights and packet processing priorities of the terminals.
Precautions
The command takes effect only when the authentication or accounting mode in the AAA scheme is RADIUS.
The command takes effect only when the LLDP function is enabled on the device and the connected peer device.