# Configuring with ADAC Script

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

| Note
| When executing the script using EDM, do not run other commands while the script is in progress, as 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 ADAC Script tab.
4. In the Verbose section, in the Data VLAN ID field, type the data VLAN ID.
5. Select Management VLAN flag if you want the data VLAN as the management VLAN.
6. In the Data VLAN Gateway dialog box, type the data VLAN Gateway IP address.
7. In the Data VLAN Gateway Mask dialog box, type the data VLAN Gateway mask address.
8. In the Management IP address dialog box, type the management IP address.
9. In the Management IP Mask dialog box, type the management IP mask.
10. In the Default IP Route dialog box, type the default IP route address.
11. In the Voice VLAN Id dialog box, type the voice VLAN ID.
12. In the Voice VLAN Gateway dialog box, type the IP address.
13. In the Voice VLAN Gateway Mask dialog box, type the IP mask address.
14. In the LLDP Call-Server dialog box, type the LLDP call server IP address.
15. In the LLDP File-Server dialog box, LLDP file server IP address.
16. (Optional) Select the Uplink trunk flag to link ADAC uplink port as a member of MLT trunk.
17. Click the ADAC Uplink Ports ellipsis (...).
18. From the ADAC Uplink Ports, select the uplink ports and then, click Ok.
19. Click the ADAC Call Server Ports ellipsis (...).
20. From the ADAC Call Server ports, select the call serevr ports and then, click Ok.
21. Click the ADAC Telephony Ports ellipsis (...).
22. From the ADAC Telephony Ports, select the telephony ports and then, click Ok.
23. Click Apply.

## ADAC 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.
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.
Uplink trunk flag | Links the ADAC uplink port to the MLT trunk.
ADAC Uplink Ports | Specifies the ADAC uplink ports. A maximum of 50 ports are supported.
ADAC Call Server Ports | Specifies the ADAC call server ports. A maximum of 50 ports are supported.
ADAC Telephony Ports | Specifies the ADAC telephony ports. A maximum of 50 ports are supported.
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.