...
LLDP (Link Layer Discovery Protocol) allows Ethernet network devices to receive and/or transmit device-related information to directly connected devices on the network that are also using the protocol, and store the information that is learned about other devices. Information gathered with LLDP is stored in the device as a management information database (MIB) and can be queried with the Simple Network Management Protocol (SNMP) as specified in RFC 2922. LLDP transmits information as packets called LLDP Data Units (LLDPDUs). An LLDPDU consists of a set of Type-Length- Value (TLV) elements, each of which contains a particular type of information about the device or port transmitting it.
Each of the TLV components has the following basic structure:
Type | Length | Value |
7 bits | 9bits | 0-510 octets |
LLDP supports advertising the following TLVs:
...
TLV Name | TLV Type | Description |
Mandatory TLVs
| Chassis ID | Specifies the IP address of the sending port. |
Port ID | Specifies the MAC address of the IP phone. | |
Time To Live | Specifies the life of the transmitted information on the IP phone. The default value is 180sec. | |
End of LLDPDU | Marks the end of the TLV sequence in the LLDPDU. No further processing of TLVs after this is necessary. This is a mandatory TLV and therefore must be present at the end of the data stream. | |
Optional TLVs
| System Name | Specifies the |
System Description | Specifies the description of the IP phone. | |
System Capabilities | Specifies the supported and enabled capabilities of the IP phone. | |
Port Description | Specifies the description of the sending port. | |
IEEE Std 802.3 | MAC/PHY | Specifies duplex and bit rate settings of the IP phone. |
LLDP -MED TLVs
| Media Capabilities | Specifies the MED device type of the IP phone and the supported LLDP -MED TLV type can be encapsulated in LLDPDU.
|
Network Policy | Specifies the port VLAN ID, application type, L2 priority and DSCP value. | |
Extended | Specifies power type, source, priority and value. | |
| Inventory – | Specifies the firmware revision of IP phone. |
Inventory – Serial | Specifies the serial number of IP phone. | |
Inventory – | Manufacturer name of IP phone. | |
| Inventory – Model Name | Specifies the model name of IP phone. |
Asset ID | Specifies the asset identifier of IP phone. |
...
LLDP is disabled on IP phones by default. You can configure LLDP via web interface, LCD Interface or using the configuration file. You can also configure the sending frequency of LLDP packet. The default sending frequency is 120s.
To configure LLDP feature via web interface:
1. Log into the web interface
(The default administrator user name and password are both "admin")
2. Click on Network->Advanced.
3. In the LLDP block, select the desired value from the pull-down list of Active.
4. Enter the desired time (in seconds) in the Packet Interval (1~3600s) field.
5 5. Click SaveSet to accept the change and the phone will reboot automatically.
To configure LLDP feature via LCD interface:
1. Press Menu →Settings →Advanced Settings(The default password is "admin") →Network →LLDP.
2. Press and or press Switch soft key to select the Enable choice from the Active field.
3. Enter the desired time (in seconds) in the Packet Interval (1~3600s) field.
4. Click Save to accept the change and the phone will reboot automatically.
...
The following figure shows the LLDP packets sent and received by the IP phone, each packet contains multiple TLVs.
DHCP VLAN
IP phones support VLAN discovery via DHCP. When the VLAN Discovery method is set to DHCP, the IP phone will detect DHCP option for a valid VLAN ID. The predefined option 132 is used to supply the VLAN ID by default. You can customize the DHCP option used to detect the VLAN ID. Besides, you can use the DHCP option 133 to get the 802.1p priority of VLAN.
In addition, we also support configure multiple configurations with only one option. Option 43 is a comprehensive configuration item. You can put option 132, option 133 and so on into it. The IP Phone will get the information you configured from option 43. The specific configuration method will be described in detail later.
...
- Start the Tftpd32 application.
- Select the Current Directory and Server interfaces.
- Click the DHCP server Tab.
- Click the "Settings" button.
...