Buffalo AirStation Pro WAPM-1266R Command Reference
This document serves as a command reference for the Buffalo AirStation Pro series, specifically detailing the Command Line Interface (CLI) syntax, usage, and important notes. For general setup and usage, please refer to the user manual for each product.
Please note that firmware revisions may lead to changes in syntax and settings without prior notice. It is recommended to obtain the latest version of the command reference along with the firmware. You can check the latest command line reference at: http://d.buffalo.jp/wapm-1266r/
Using the Command Line Interface
The command line interface for this product supports serial port connections.
Connect the serial port of the product to the serial port of the setup computer using a serial cable.
[Diagram: Shows the back panel of the Buffalo AirStation Pro with ports labeled POWER, USB, CONSOLE, SERVICE, LAN1 (PoE), LAN2, RESET. A laptop is shown connected to the CONSOLE port via a serial cable.]
Preparing Terminal Software
To connect to the command line interface, terminal software is required. The following terminal software is recommended for this product:
- Tera Term Ver.4.60 or later ※1
※1 Copyright (c) T.Teranishi. / TeraTerm Project. All rights reserved.
Note: Tera Term (Ver.4.60 or later) has a different key map compared to other terminal software in its default state. The mapping for Home and End keys may differ from the product's settings. To use these keys, please change the key map settings as follows:
- Select [Setup] - [Load Key Map].
- Select "FUNCTION.CNF" from the files and click [Open].
Logging into the Product
Follow these steps to log into the product:
- Configure your terminal software as follows and access the product:
- Connection Method: COM1, etc.
- Data Rate: 19200bps
- Data Bits: 8
- Stop Bits: 1
- Parity: None
- Flow Control: None
- When "login:" is displayed, enter the management username and press Enter.
Note: The default management username is "admin". - When "Password:" is displayed, enter the management password and press Enter.
Note: The default management password is "password". - "Hello!" will be displayed.
Hello! APXXXXXXXXXXXX Welcome to BUFFALO CLI!
This completes the login process for the product.
IP Address Settings
Manual Setup
Before assigning an IP address, please confirm the following information with your network administrator:
- IP address for the product
- Network subnet mask
This example demonstrates setting the product's IP address and subnet mask:
- IP Address: e.g., 192.168.11.200
- Subnet Mask: e.g., 255.255.255.0
The setup procedure is as follows:
- Log into the product.
- Enter
ip lan address 192.168.11.200/255.255.255.0 force
and press Enter.$ ip lan address 192.168.11.200/255.255.255.0 force Good-bye!!
Note: To confirm the IP address and subnet mask, log into the product again and enterip show status
, then press Enter.
The setup is now complete.
Obtain Automatically from DHCP Server
If you want to obtain the IP address automatically from a DHCP server, follow these steps:
- Log into the product.
- Enter
ip lan address dhcp force
and press Enter.$ ip lan address dhcp force Good-bye!!
Note: To confirm the IP address and subnet mask, log into the product again and enterip show status
, then press Enter.
The setup is now complete.
Command Line Interface
About Command Modes
This product has two command modes: Reference Mode (read-only mode) and Immediate Mode (immediate execution mode). This section explains each command mode.
Reference Mode (Read-Only Mode)
Reference Mode allows you to only view configuration settings.
- Log into the product.
- Enter the reference username and password, then press Enter.
Note: The default settings are reference username "user" and reference password "password". - "Hello!" will be displayed.
Hello! APXXXXXXXXXXXX Welcome to BUFFALO CLI! >
Note: To exit the command line interface, enterexit
and press Enter. - Enter commands. Pressing the Tab key allows you to complete commands.
Immediate Mode (Immediate Execution Mode)
In Immediate Mode, settings are reflected for each command, and the settings are saved to the internal flash memory. While the time required per command may be longer due to saving and reconfiguring settings, the entered commands are reflected immediately.
[Diagram: Shows a laptop connected to a Buffalo AirStation Pro. An arrow indicates "Execute settings one command at a time" from the laptop to the AirStation Pro.]
- Log into the product.
- Enter the management username and password, then press Enter.
Note: The default settings are management username "admin" and management password "password". - "Hello!" will be displayed.
Hello! APXXXXXXXXXXXX Welcome to BUFFALO CLI! $
Note: To exit the command line interface, enterexit
and press Enter. - Enter commands. Pressing the Tab key allows you to complete commands.
- After entering a command, pressing Enter executes the command immediately, and the settings are saved to the internal flash memory.
Command Explanation
This section explains how to read command explanation pages and their specifications.
How to Read Command Explanation Pages
[Command Syntax]
Describes the command input format. Angle brackets (< >) represent variable parameters of the command. The strings that can be entered are described in [Parameters]. Square brackets ([ ]) indicate parameters that can be selected from vertical bars (|) or omitted parameters.
Example:
ip lan address [<address>/<maskbit> | <address>/<maskip> | dhcp] [force]
Command Text | Parameter Arguments
This indicates that three parameters can be selected: <address>/<maskbit>, <address>/<maskip>, and dhcp. For details, please refer to the [Parameters] section for each command.
[Parameters]
Describes the arguments used with the command.
[Default Value]
Lists the default values at factory shipment.
[Command Mode]
Describes the modes in which the command can be used. (If a mode is not listed, it cannot be used in that mode.)
[Command Example]
Provides examples of commands with actual parameters.
Entering Special Characters
When using special characters in command parameter arguments, follow these rules:
Special Character | Example Input | Description |
---|---|---|
Space | "abc de" |
Enclose in double quotes ("). |
Semicolon (;) | "xyz;pqr" |
Enclose in double quotes ("). |
Sharp (#) | "#string" |
Enclose in double quotes ("). |
Yen symbol (¥) | "nm¥¥op" |
When using the yen symbol within double quotes, escape it with a yen symbol (¥). |
Double quotation mark (") | "stu\"vw" |
When using double quotation marks within double quotes, escape it with a yen symbol (¥). |
Other Notes
Auto Logout
The system will automatically log out if there is no key input for 5 minutes.
Exclusive Login
You cannot log in to the command line interface and the web configuration screen simultaneously. If you wish to log in to the CLI, please log out from the web interface first. Furthermore, commands cannot be executed from Admin Tools etc. while logged in. If you intend to use these tools, please log out before executing commands.
Additionally, simultaneous login is not possible even with different accounts (admin or user).
Comment Lines
Characters from a sharp symbol (#) to the end of the line are ignored and do not affect command processing.
Example: In the following line, the string from #(default) onwards is treated as a comment.
ip lan address dhcp # (default)ip lan static 192.168.11.100/255.255.255.0
Command Prompt
The command prompt is displayed as follows:
[$ | >]
$
: Indicates that the administrator user (admin) is logged in.>
: Indicates that the reference user (user) is logged in.
Force Option
Using the force
option allows commands to be executed without a confirmation message.
Example: setup reboot
command (with force option)
$ setup reboot force
Example: setup reboot
command (without force option)
$ setup reboot
Are you sure to restart AirStation ? (y/n) y
setup Command
setup init
Resets all parameters set on the product to their initial values.
- Command Syntax:
setup init [force]
- Parameters: None
- Default Value: None
- Command Mode: Immediate Mode
- Command Example:
$ setup init $ setup init force
setup reboot
Restarts the product.
- Command Syntax:
setup reboot [force]
- Parameters: None
- Default Value: None
- Command Mode: Immediate Mode
- Command Example:
$ setup reboot $ setup reboot force
ip Command
ip lan address
Sets the IP address for the product's LAN side.
- Command Syntax:
ip lan address [< address >/< maskbit > | < address >/< maskip > | dhcp] [force]
- Parameters:
<address>
: Enter the IP address.<maskbit>
: Enter the bit count for the subnet mask.<maskip>
: Enter the subnet mask.dhcp
: Obtain the IP address from a DHCP server.
- Default Value:
<address>
: 192.168.11.100<maskbit>
: 24<maskip>
: 255.255.255.0
- Command Mode: Immediate Mode
- Command Example:
$ ip lan address 10.0.0.100/8 $ ip lan address 192.168.30.28/255.255.255.0 $ ip lan address dhcp $ ip lan address dhcp force
ip lan vlan
Sets the VLAN ID for the product.
- Command Syntax:
ip lan vlan < id > [force]
- Parameters:
<id>
: Sets the VLAN ID. (1~4094) - Default Value:
<id>: 1
- Command Mode: Immediate Mode
- Command Example:
$ ip lan vlan 20 $ ip lan vlan 20 force
ip defaultgw
Manually sets the default gateway for the management subnet or sets the default route.
- Command Syntax:
ip defaultgw [< gateway > | clear] [force]
- Parameters:
< gateway >
: Enter the default gateway address.clear
: Clears the gateway setting.
- Default Value:
< gateway >: Empty
- Command Mode: Immediate Mode
- Command Example:
$ ip defaultgw 192.168.0.250 $ ip defaultgw clear $ ip defaultgw 192.168.0.250 force $ ip defaultgw clear force
show Command
ip show status
Displays the status of IP settings.
- Command Syntax:
ip show status
- Parameters: None
- Default Value: None
- Command Mode: Reference Mode, Immediate Mode
- Command Example:
$ ip show status
ip show config
Displays the contents of IP settings.
- Command Syntax:
ip show config
- Parameters: None
- Default Value: None
- Command Mode: Reference Mode, Immediate Mode
- Command Example:
$ ip show config
show Command
show status all
Displays all configuration information for the product.
- Command Syntax:
show status all
- Parameters: None
- Default Value: None
- Command Mode: Reference Mode, Immediate Mode
- Command Example:
$ show status all
show status ip basic_info
This command is equivalent to ip show status
. For syntax and parameters, please refer to "ip show status".
exit Command
exit
Exits the CLI.
- Command Syntax:
exit
- Parameters: None
- Default Value: None
- Command Mode: Reference Mode, Immediate Mode
- Command Example:
$ exit
Copyright and Disclaimer
Copyright of this document belongs to the company. Reproduction, duplication, or modification of any part or all of this document without permission is prohibited.
BUFFALO™ is a trademark of Melco Holdings Inc. AirStation™ is a trademark of Buffalo Inc. Other company product names mentioned in this document are generally trademarks or registered trademarks of their respective companies. The marks ™ and ® are not indicated in this document.
While every effort has been made to ensure the accuracy of the specifications, designs, and other content described in this document, they are subject to change without notice for product improvement. The product you have purchased may differ in some aspects.
Although this document has been prepared with the utmost care, if you find any unclear points, errors, or omissions, please contact your retailer or our support center.
This product is not intended for use in equipment or systems that are critical to human life, such as medical devices, nuclear facilities, aerospace equipment, transportation systems, or any equipment requiring high reliability. Buffalo Inc. shall not be held liable for any accidents, fires, or social damages resulting from the use of this product in such equipment or systems, or from the failure of this product. Please ensure that safety designs such as redundant design, fire propagation prevention design, and malfunction prevention design are implemented for equipment, designs, and control systems.
This product is designed and manufactured for use in Japan. Buffalo Inc. is not responsible for any failures or defects that occur outside of Japan.
If you export or provide this product (including accessories) to another country, please confirm the regulations of the Foreign Exchange and Foreign Trade Act and the U.S. Export Administration Regulations, and complete any necessary procedures.
Please use this product in accordance with the usage instructions described in this document. In particular, do not use it in violation of the handling precautions described herein.
While Buffalo Inc. provides repair services under certain conditions for product malfunctions, it does not guarantee against data loss or corruption. If the product is a storage device or is used in conjunction with a storage device, please adhere to the precautions described in this document. Furthermore, please create backups of your data. Buffalo Inc. shall not be liable for any damages incurred due to data loss or destruction resulting from your failure to comply with the precautions in this document or to create backups.
Buffalo Inc.'s liability for damages arising from breach of contract or tort related to this product shall be limited to the purchase price of the product, unless such liability arises from Buffalo Inc.'s intentional act or gross negligence.
In the event of a hidden defect in the product, Buffalo Inc. will repair the defect free of charge or replace the product with an identical or equivalent product that is free of defects. However, Buffalo Inc. shall not be liable for any damages resulting from such defects.
The responsibilities described in this document are valid only within Japan.