Monitor Mode on Cobos device servers

How can I open Monitor Mode on my Cobos device server? What commands are available?


Entering Monitor Mode Using the Network Port
To enter Monitor Mode using a Telnet connection:

1. Establish a Telnet session to the configuration port (9999). The prompt below will be displayed:
Press Enter for Setup Mode

2. DO NOT press ENTER. Type M (upper case) immediately (within 3 seconds).

A 0> prompt indicates that you have successfully entered Monitor Mode.

Monitor Mode Commands
The following commands are available in Monitor Mode. Many commands have an IP address as an optional parameter (xxx.xxx.xxx.xxx). If you enter the IP address, the command is applied to another unit with that IP address. If you do not enter the IP address, the command is executed locally.

Note: All commands must be in capital letters. Responses to some of the commands are in Hex format.

Monitor Mode Commands:

Command Command Name Function
VS x.x.x.x Version Queries software header record (16 bytes) of unit with IP address x.x.x.x.
GC x.x.x.x Get Configuration Gets configuration of unit with IP address x.x.x.x as hex records (120 bytes).
SC x.x.x.x Send Configuration Sets configuration of unit with IP address x.x.x.x from hex records.
PI x.x.x.x Ping Pings unit with IP address x.x.x.x to check device status.
AT ARP Table Shows the unit's ARP table entries.
TT TCP Connection Table Shows all incoming and outgoing TCP connections.
NC Network Connection Shows the unit's IP configuration.
RS Reset Resets the unit's power.
QU Quit Exits diagnostics mode.
G0, G1,....,Ge, Gf Get configuration from memory page Gets a memory page of configuration information from the device.
S0, S1,...,Se, Sf Set configuration to memory page Sets a memory page of configuration information on the device.
GM Get MAC address Shows the unit's 6-byte MAC address.
SS Set Security record Sets the Security record without the encryption key and length parameters. The entire record must still be written but the encryption-specific bytes do not need to be provided (they can be null since they are not overwritten).
SA Scan (Wibox, Wiport and Matchport b/g only) Initiates a wireless scan if the wireless interface is enabled. Reports any stations found, including BSSID, SSID, and RSSI. If SA is followed by a string, the string is used to filter SSIDs before reporting. If the BSS does not broadcast its SSID,only the BSSID and RSSI are returned.
NS Network Status (Wibox, Wiport and Matchport b/g only) Reports the network interfaces' statuses. Includes potentially negotiated parameters like speed/duplex for Ethernet or BSSID, encryption, authentication for wireless interfaces.
co Set IP address, host bits, gateway, and DNS server IP
(Wibox, Wiport and Matchport b/g only)
Example: co 192.168.0.10 8 192.168.0.1 10001
with
192.168.0.10 = IP address of the MatchPort
8 = number of host bits
192.168.0.1 = gateway IP address
10001 = port number of the MatchPort
192.168.1.10 = IP address of the DNS Server
The MatchPort stores the setup and performs a reset. It sends an X before the reset if the command was OK.

Responses to some of the commands are given in Intel Hex format.

Note: Entering any of the commands listed above generates one of the following command response codes:

0> OK; no error
1> No answer from remote device
2> Cannot reach remote device or no answer
8> Wrong parameter(s)
9> Invalid command



[Originally Published On: 12/17/2010 02:48 PM]