Configuration Guide
Ubiquiti Rocket M Wireless Base Station
Written for LMOS 4.6.6
November 2013
The purpose of this document is to detail the installation and configuration of an Ubiquiti Rocket M Wireless Base
Station for use with Uplogix Local Managers.
Features
Supports Ubiquiti Rocket M Wireless Base Stations
Requirements
Uplogix Local Manager Licensed for a virtual port
Management Connection
Connect the Uplogix and Ubiquiti network interfaces to the network as normal. The Ubiquiti does not have a
console port, therefore management of the Ubiquiti is accomplished by use of the Uplogix Local Managers virtual
port feature. For full documentation of the virtual port feature see the virtual port feature guide here:
[Link]
Configuring the Ports
Ubiquiti Port Initialization
First, configure the Ubiquiti to allow Telnet connections. In the Ubiquitis web interface, under the SERVICES tab,
select the Telnet Server Enable check box.
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
1
Next, configure the Ubiquitis virtual port in the Uplogix. Connect to the Uplogix Local Managers command line
interface and run the following commands to configure the virtual port. In the below example the IP address is the
default address of the Ubiquiti. Replace [Link] with the IP address of the Ubiquiti being managed.
[admin@ A101101350]# config system slot 4
[config system slot 4]# 1 [Link] 23
Port 1 added.
[config system slot 4]# exit
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
2
Then, run the configure initialization command on the virtual port. Use the following commands to configure the
port as an Enhanced device. For management IP replace [Link] with the IP address of the Ubiquiti being
managed.
[admin@ A101101350]# port 4/1
native
[admin@ A101101350 (port4/1)]# config init
--- Enter New Values --description: Ubiquiti
make [native]: enhanced
model:
os:
os version:
management IP: [Link]
command prompt [[#>]]:
login prompt [sername:\s]: ogin:\s
password prompt [ssword:\s]:
logout command [exit\r]:
wakeup command [\r]:
console username: ubnt
console password: ****
confirm password: ****
Serial Bit Rate [9600]:
Serial Data Bit [8]:
Serial Parity [none]:
Serial Stop Bit [1]:
Serial Flow Control [none]:
Do you want to commit these changes? (y/n): y
Testing login will take a few moments...
Login successful; credentials are valid.
Scheduling default jobs
Testing job rulesMonitor
Job rulesMonitor was successful
Job rulesMonitor was scheduled
Finally, to allow connection to the Ubiguitis web interface over out of band connections, run the configure
protocol forward command as below.
[admin@ A101101350 (port1/4)]# config protocol forward
[forward]# management 443 https
[forward]# exit
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
3
Scheduling Ubiquiti Monitors
The following rule set has been designed to monitor the signal strength on the Ubiquiti and to trigger an alarm
when the level goes below -75 decibels. To load the ruleset on the Uplogix Local Manager, connect to the CLI
and enter the following at the system resource level.
config rule no ubiquitiCheck
config rule ubiquiti
description gathers level quality into variable Ubiquiti2
conditions
true
exit
action execute -command "cat /proc/net/wireless | grep ath0 | sed -e 's/ */ /g' | cut d' ' -f5 | sed s/[.]//" -pattern "(\d\d)" -setValue monitor Ubiquiti2 $1
exit
config rule no ubiquitiAlarm
config rule ubiquiti1
description
conditions
compare-value monitor Ubiquiti2 > 75
exit
action alarm GENERIC -a "level below -75 decibels"
action writeStatus SIGNAL LOW
exit
To activate the rules schedule a monitor that uses them by navigating to the Ubiquitis port and issuing the
command configure monitor chassis ubiquitiCheck | ubiquitiAlarm.
Operation
Terminal
To interact with the Ubiquitis command line interface, connect to the Uplogix Local Manager via SSH or
console port, navigate to the Ubiquitis port with port 4/1, and then use the terminal command.
Web Interface Port Forwarding
To connect to the Ubiquitis web interface through the Uplogix Local Manager, first log into the Uplogix Control
Centers GUI, then use the CLI button for the Local Manager that is connected to the Ubiquiti.
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
4
Log into the Local Manager, then click Terminal and Forward.
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
5
Click the check box next to the Ubiquitis port, then click Apply. This will forward a TCP port on your workstation
through the Local Manager and to the Ubiquitis web interface.
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
6
To connect, open a web browser and enter [Link] number]. In this example the port is 9425.
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
7
Managing Ubiquiti Configuration
Configuration Backup
To save a copy of the Ubiquitis configuration on the Uplogix Local Manager, run the following command from the
Ubiquitis port, replacing the IP address with the IP address of the Uplogix Local Manager.
pull tftp "tftp -l /var/tmp/[Link] -r [Link] -p [Link]" [Link]
running-config current
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
8
To schedule a task where the configuration is pulled every three hours, run the following command from the port
the Ubiquiti is on:
config schedule -d 10800 pullTftp "tftp -l /var/tmp/[Link] -r [Link] p
[Link]" [Link] running-config current
Configuration Restore
To push a stored configuration from the Uplogix to the Ubiquiti use the following command. Replace the IP
address with the IP address of the Uplogix Local Manager. To push a previous version of the configuration replace
current with previous.
push tftp "tftp -l /var/tmp/[Link] -r [Link] -g [Link]" [Link]
running-config current
The restored configuration will go into effect immediately, but will be lost in the event of power loss or a reboot if
they are then copied to the boot variables on the Ubiquiti. To accomplish this, connect to the Ubiquitis web
interface and click Change and Apply on any configuration page.
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
9
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
10
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
11
Receiving technical support
The Uplogix technical support website allows you to open support requests, browse the knowledge base and
download software updates. You must have a user account to view this site.
To create an account, send an email to support@[Link] with the subject line create account. Include this
information:
Organization name
Account users email address
Users general contact information
If you need to contact Uplogix customer support, please provide this information:
Product model
Serial number and software version (use the show version command from the command line)
Phone: 512-857-7070
Phone: 888-663-6869 (toll-free)
Fax: 512-857-7002
Email: support@[Link]
URL: [Link]
Trademark and copyright information
Information in this document is subject to change without notice.
2013 Uplogix, Inc. All Rights Reserved. Uplogix, the Uplogix logo, and SurgicalRollback are trademarks of Uplogix,
Inc. in the United States and other jurisdictions. All other marks referenced are those of their respective owners.
Uplogix Configuration Guide: Ubiquiti Rocket M Wireless Base Station
12