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.

Connection Example (Serial Connection)

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:

  1. Select [Setup] - [Load Key Map].
  2. Select "FUNCTION.CNF" from the files and click [Open].

Logging into the Product

Follow these steps to log into the product:

  1. 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
  2. When "login:" is displayed, enter the management username and press Enter.
    Note: The default management username is "admin".
  3. When "Password:" is displayed, enter the management password and press Enter.
    Note: The default management password is "password".
  4. "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:

  1. Log into the product.
  2. 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 enter ip 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:

  1. Log into the product.
  2. 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 enter ip 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.

  1. Log into the product.
  2. Enter the reference username and password, then press Enter.
    Note: The default settings are reference username "user" and reference password "password".
  3. "Hello!" will be displayed.
    Hello!
    APXXXXXXXXXXXX
    Welcome to BUFFALO CLI!
    >
    Note: To exit the command line interface, enter exit and press Enter.
  4. 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.

Command Execution

[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.]

  1. Log into the product.
  2. Enter the management username and password, then press Enter.
    Note: The default settings are management username "admin" and management password "password".
  3. "Hello!" will be displayed.
    Hello!
    APXXXXXXXXXXXX
    Welcome to BUFFALO CLI!
    $
    Note: To exit the command line interface, enter exit and press Enter.
  4. Enter commands. Pressing the Tab key allows you to complete commands.
  5. 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.

PDF preview unavailable. Download the PDF instead.

35021436-01 Adobe PDF Library 9.9

Related Documents

Preview FREESPOT導入キット FS-M1266 設定事例集
This document provides setup examples for the FREESPOT Introduction Kit FS-M1266, covering initial setup, internet connection, password changes, and specific configuration scenarios for various business environments. It details steps for small to medium-sized businesses, including restaurants and public facilities, with instructions on VLAN settings, ACL rules, and Wi-Fi configurations.
Preview BUFFALO 法人向け 無線LANアクセスポイント WAPM-1266R 設定事例集
BUFFALO WAPM-1266R 無線LANアクセスポイントの設定事例を詳細に解説したガイド。バンドステアリング、WDS接続、マルチSSID、TagVLAN、DHCPサーバー機能、FREESPOT連携など、法人向けネットワーク構築の具体的な設定手順を提供します。
Preview Account@Adapter+ Authentication Integration Setup Examples
This document provides setup examples for integrating Account@Adapter+ with Buffalo wireless access points (WAPM-2133TR, WAPM-AX8R, WAPM-1266R, WAPS-1266) using IEEE802.1X EAP-TLS and EAP-PEAP authentication methods.
Preview Account@Adapter+ 認証連携設定例
この資料は、RADIUS認証アプライアンス Account@Adapter+ とバッファロー社製アクセスポイント WAPM-2133TR/WAPM-AX8R/WAPM-1266R/WAPS-1266 を使用した IEEE802.1X EAP-TLS および EAP-PEAP 環境での接続設定例について説明します。
Preview Buffalo Corporate Network Catalog 2025-08
Catalog of Buffalo's corporate network products, including Wi-Fi 6/6E routers, switches, and accessories, designed for business environments.
Preview Buffalo AirStation WZR2-G300N Quick Setup Guide
This guide provides quick setup instructions for the Buffalo AirStation Draft-N WZR2-G300N Wireless Router & AP, covering package contents, installation, AOSS secure connection, manual client setup, and technical support details.
Preview Buffalo AirStation Pro WAPS-APG600H / WAPS-AG300H User's Manual
Comprehensive user's manual for Buffalo AirStation Pro wireless access points, models WAPS-APG600H and WAPS-AG300H, covering setup, configuration, features, and troubleshooting.
Preview BS-G3024MR VLAN Network Segmentation and IP Filtering Setup Guide
This guide provides step-by-step instructions for setting up VLANs and IP filtering on the Buffalo BS-G3024MR Layer 3 Gigabit Intelligent Switch. It covers network planning, VLAN configuration, IP address assignment, PVID settings, inter-VLAN routing, and hardware IP filtering.