# Configuring with IP Office Script

Use the following procedure to configure parameters using the IP Office Script.

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 IP Office Script tab.
4. In the Run Script Mode section, click a radio button.

   If you select default, the parameters are automatically configured. If you select verbose, proceed with the following steps to modify the parameters in verbose mode.

5. In the Voice VLAN Id field, type a value.
6. In the Voice VLAN Gateway field, type a value.
7. In the Voice VLAN Gateway Mask field, type a value.
8. In the Data VLAN Id field, type a value.
9. In the Data VLAN Gateway field, type a value.
10. In the Data VLAN Gateway Mask field, type a value.
11. In the IP Route to Gateway Modem-Router field, type a value.
12. In the IP Office Call-Server field, type a value.
13. In the IP Office File-Server field, type a value.
14. Click Apply.

## IP Office Script field descriptions

Name | Description
--- | ---
Run Script Mode | Specifies to run the script either in default or verbose mode.
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. The default subnet mask created by the run IP Office script supports a maximum of 250 hosts. You can change the subnet mask to 255.255.254.0 to allow 510 hosts for each subnet using the verbose mode.
Data VLAN ID | Specifies the data VLAN ID. By default, the data VLAN ID is 44.
Data VLAN Gateway | Specifies the data VLAN Gateway. By default, the data VLAN Gateway is 192.168.44.254.
Data VLAN Gateway Mask | Specifies the data VLAN Gateway Mask. By default, the data VLAN Gateway Mask is 255.255.255.0.
IP Route to Gateway Modem-Router | Specifies the IP Route to gateway modem and router. By default, the IP address is 192.168.44.2.
IP Office Call-Server | Specifies the IP Office call server IP address. By default, the call server IP address is 192.168.42.1.
IP Office File-Server | Specifies the IP Office file server IP address. By default, the file server IP address is 192.168.42.1.
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.