# Configuring with LLDP Script

Use the following procedure to configure LLDP parameters for the switch.

| Note
| When executing the script using EDM, do not run other commands while the script is in progress, because this slows down the execution. EDM can time-out while waiting for a response; even when a time-out occurs, the script execution continues on the switch.

## Procedure

1. From the navigation tree, double-click Administration.
2. In the Administration tree, click Run Script.
3. In the work area, click the LLDP Script tab.
4. In the Mode work area, by default, verbose is selected in the Run Script Mode dialog box.
5. In the Verbose work area, type the data VLAN ID in the Data VLAN Id dialog box.
6. Select Management VLAN flag if you want the data VLAN as the management VLAN.
7. In the Data VLAN Gateway dialog box, type the data VLAN Gateway IP address.
8. In the Data VLAN Gateway Mask dialog box, type the data VLAN Gateway mask address.
9. Click the Data VLAN Uplink Ports ellipsis (...) and select ports.
10. In the Management IP address dialog box, type the management IP address.
11. In the Management IP Mask dialog box, type the management IP mask.
12. In the Default IP Route dialog box, type the default IP route address.
13. In the Voice VLAN Id dialog box, type the voice VLAN ID.
14. In the Voice VLAN Gateway dialog box, type the IP address.
15. In the Voice VLAN Gateway Mask dialog box, type the IP mask address.
16. In the LLDP Call-Server dialog box, type the LLDP call server IP address.
17. In the LLDP File-Server dialog box, LLDP file server IP address.
18. Click Apply.

## LLDP Script field descriptions

Name | Description
--- | ---
Run Script Mode | Specifies to run the script in verbose mode and it is selected by default.
Data VLAN Id | Specifies the data VLAN ID. The value ranges from 1 to 4096.
Management VLAN flag | Specifies data VLAN ID as Management VLAN. This is optional.
Data VLAN Gateway | Specifies the data VLAN gateway IP address.
Data VLAN Gateway Mask | Specifies the data VLAN gateway mask IP address.
Data VLAN Uplink Port | Specify the ports for Data VLAN uplink.
Management IP address | Specifies the management IP address.
Management IP Mask | Specifies the management IP mask address.
Default IP Route | Specifies the default IP route.
Voice VLAN Id | Specifies the voice VLAN ID. By default, the voice VLAN ID is 42.
Voice VLAN Gateway | Specifies the Voice VLAN Gateway IP Address. By default, the voice VLAN gateway IP address is 192.168.42.254.
Voice VLAN Gateway Mask | Specifies the voice VLAN gateway IP mask address. By default, the voice VLAN gateway IP mask address is 255.255.255.0.
LLDP Call-Server | Specifies the LLDP call server IP address.
LLDP File-Server | Specifies the LLDP file server IP address.
Status | Displays the status of the last action that occurred since the switch last booted. Values include: other—no action occurred since the last boot. inProgress—the selected operation is in progress. passed—the selected operation succeeded. failed—the selected operation failed.