User Manual
Table Of Contents
- Monitoring
- Commands
- Troubleshooting
- Command Line Interface (CLI)
- General Notes
- Command Line Interface (CLI) Variations
- CLI Command Types
- Using Tables and Strings
- Configuring the AP using CLI commands
- Log into the AP using HyperTerminal
- Log into the AP using Telnet
- Set Basic Configuration Parameters using CLI Commands
- Set System Name, Location and Contact Information
- Set Static IP Address for the AP
- Change Passwords
- Set Network Names for the Wireless Interface
- Enable 802.11d Support and Set the Country Code
- Enable and Configure TX Power Control for the Wireless Interface(s)
- Configure SSIDs (Network Names), VLANs, and Profiles
- Download an AP Configuration File from your TFTP Server
- Backup your AP Configuration File
- Set up Auto Configuration
- Other Network Settings
- Configure the AP as a DHCP Server
- Configure the DNS Client
- Configure DHCP Relay
- Configure DHCP Relay Servers
- Maintain Client Connections using Link Integrity
- Change Wireless Interface Settings
- Set Ethernet Speed and Transmission Mode
- Set Interface Management Services
- Configure Syslog
- Configure Intra BSS
- Configure Wireless Distribution System
- Configure MAC Access Control
- Set RADIUS Parameters
- Set Rogue Scan Parameters
- Set Hardware Configuration Reset Parameters
- Set VLAN/SSID Parameters
- Set Security Profile Parameters
- CLI Monitoring Parameters
- Parameter Tables
- CLI Batch File
- ASCII Character Chart
- Specifications
- Technical Services and Support
- Statement of Warranty
Command Line Interface (CLI) AP-4000/4000M/4900M User Guide
CLI Batch File
239
CLI Batch File
A CLI Batch file is a user-editable file that lists a series of CLI set commands, that can be uploaded to the Access Point to
change its configuration. The Access Point executes the CLI commands specified in the CLI Batch file after upload and
the configuration gets changed accordingly. A CLI Batch file can also be used for Auto Configuration.
The CLI Batch file does not replace the existing LTV format configuration file, which continues to define the configuration
of the AP.
The CLI Batch file contains a list of CLI commands that the AP will execute. The AP performs the commands in the file
immediately after the file is uploaded to the AP manually or during Auto Configuration. The AP parses the file and
executes the CLI commands. Commands that do not require a reboot take effect immediately, while commands that
require a reboot (typically commands affecting a wireless interface) will take effect after reboot.
Auto Configuration and the CLI Batch File
The Auto Configuration feature allows download of the LTV format configuration file or the CLI Batch file. The AP detects
whether the file uploaded is LTV format or a CLI Batch file. If the AP detects a CLI Batch file (a file with extension .cli), the
AP executes the file immediately.
The AP will reboot after executing the CLI Batch file. Auto Configuration will not result in repeated reboots if the CLI Batch
file contains rebootable parameters.
CLI Batch File Format and Syntax
The CLI Batch file must be named with a .cli extension to be recognized by the AP. The maximum file size allowed is 100
Kbytes, and files with larger sizes cannot be uploaded to the AP. The CLI commands supported in the CLI Batch File are
a subset of the legal AP CLI commands.
The follow commands are supported:
• Set commands
• Reboot command (the reboot command ignores the argument (time)
Each command must be separated by a new line.
NOTE: The following commands are not supported: Show command, Debug command, Undebug command, Upload
command, Download command, Passwd command, Kill command, and the Exit, Quit, and Done commands.
Sample CLI Batch File
The following is a sample CLI Batch File:
set sysname system1
set sysloc sunnyvale
set sysctname contact1
set sysctphone 1234567890
set sysctemail email@domain.com
set ipaddr 11.0.0.66
set ipaddrtype static
set ipsubmask 255.255.255.0
set ipgw 11.0.0.1
set wif 3 autochannel disable
set wif 3 mode 1
set syslogstatus enable
set sysloghbstatus enable
set sysloghbinterval 5
set wif 3 netname london
reboot