Page 96 / 102 Scroll up to view Page 91 - 95
NETGEAR ProSafe 802.11g Wireless Access Point WG302v2 Reference Manual
C-14
Command Line Reference
v1.0, May 2006
Viewing and Configuring Management Settings
The commands in
Table C-12
correspond to the pages on the Web UI under the Management
heading. This section includes commands for the following features:
Change Password
Remote Management
Upgrade Firmware
Backup and Restore
Reboot the System.
Table C-12
AP Management
Task
Command
Set a password for admin access
to the AP.
set system password <password>
Enable Remote CLI Access
set ssh status up
Disable Remote CLI Access
set ssh status down
Enable SNMP
set snmp status up
Disable SNMP
set snmp status down
Set a Public Community name
set snmp ro-community <string>
Set a Private Community name
set snmp rw-community <string>
Set an IP address to receive
SNMP traps
set traphost host <ip_address>
Upgrade the firmware (requires a
reboot)
firmware-upgrade <url>
Example:
firmware-upgrade tftp://1.2.3.4/upgrade.tar
firmware-upgrade file://1.2.3.4/tmp/upgrade.tar
Backup the configuration file
config download <url>
Example:
config download tftp://1.2.3.4/
defaultcfg.xml
Restore the configuration file
config upload <url>
Example
:
Revert to factory default settings
factory-reset
Reboot the system
reboot
Page 97 / 102
NETGEAR ProSafe 802.11g Wireless Access Point WG302v2 Reference Manual
Command Line Reference
C-15
v1.0, May 2006
Viewing and Configuring System Information
The commands in
Table C-12
correspond to the pages on the Web UI under the Information
heading. This section includes commands for the following features:
Activity Log
Available Wireless Station List
Statistics
Rogue AP Detection
Table C-13
AP Information
Task
Command
View the SysLog activity log
get log-entry
View all SysLog server information
get log detail
Enable SysLog
set log relay-enabled 1
Disable SysLog
set log relay-enabled 0
Set the IP address of the SysLog server
set log relay-host <ip_address>
Set the port number configured in the
SysLog server
set log relay-port <port_number>
View a list of wireless stations
get association detail
View interface statistics
get interface all ip mac ssid
tx-packets tx-bytes tx-errors
rx-packets rx-bytes rx-errors
Turn Rogue AP Detection On
set radio wlan0 ap-detection on
Turn Rogue AP Detection Off
set radio wlan0 ap-detection off
View a list of unknown APs
get unknown-ap
View a list of known APs
get known-ap-config
Add an AP to the Known AP list
add known-ap-config <mac_address>
Delete an AP from the Known AP list
remove known-ap-config <mac_address>
Delete all APs from the Known AP list
remove known-ap-config all
Page 98 / 102
NETGEAR ProSafe 802.11g Wireless Access Point WG302v2 Reference Manual
C-16
Command Line Reference
v1.0, May 2006
Configuring Advanced IP Settings
The commands in
Table C-14
correspond to the IP Settings page on the Web UI under the
Advanced heading.
Save the list of Known APs
set known-ap-list action export
config-file <file_name> config-server
<tftp_server>
Example:
set known-ap-list action export
config-file wg302Rogue3.cfg
config-server tftp://192.168.24.10/
knownAP
Import a list of known APs
set known-ap-list action import
config-file <file_name>
config-server <tftp_server>
Example:
set known-ap-list action export
config-file wg302Rogue3.cfg
config-server tftp://
192.168.24.10/knownAP
Table C-14
Advanced IP Setting s
Task
Command
View all DHCP server information
get dhcp-server detail
Enable the DHCP Server
set dhcp-server status up
Disable the DHCP Server
set dhcp-server status down
Set the Starting IP Address
set dhcp-server ipstart <ip_address>
Set the Ending IP Address
set dhcp-server ipend <ip_address>
Set the Subnet Mask
set dhcp-server netmask <subnet_mask>
Set the Gateway IP Address
set dhcp-server gateway <ip_address>
Set the Primary DNS Server
set dhcp-server dns1 <ip_address>
Table C-13
AP Information (continued)
Task
Command
Page 99 / 102
NETGEAR ProSafe 802.11g Wireless Access Point WG302v2 Reference Manual
Command Line Reference
C-17
v1.0, May 2006
Hotspot Settings
The commands in
Table C-15
correspond to the Hotspot Settings page on the Web UI under the
Advanced heading.
Advanced Wireless Settings
The commands in
Table C-16
correspond to the Wireless Settings page on the Web UI under the
Advanced heading. For information about the configuration options in this section, see
“Configuring Advanced Wireless Settings” on page 4-3
.
Set the Secondary DNS Server
set dhcp-server dns2 <ip_address>
Set the Primary WINS Server
set dhcp-server wins1 <ip_address>
Set the Secondary WINS Server
set dhcp-server wins1 <ip_address>
Set the Lease
set dhcp-server lease <seconds>
Table C-15
Hotspot Settings
Task
Command
View all HTTP redirect information
get http-redirect
Enable HTTP Redirect
set http-redirect status up
Disable HTTP Redirect
set portal status down
Set the URL for the redirect
set http-redirect url <url>
Table C-16
Advanced Wireless Settings
Task
Command
Enable Super-G Mode
set radio wlan0 super-ag yes
Disable Super-G Mode
set radio wlan0 super-ag no
Set the RTS Threshold
set radio wlan0 rts-threshold <0-2347>
Set the Fragmentation Length
Threshold
set radio wlan0 fragmentation-threshold <256-2346>
Set the Beacon Interval
set radio wlan0 beacon-interval <20-1000>
Table C-14
Advanced IP Setting (continued)s
Task
Command
Page 100 / 102
NETGEAR ProSafe 802.11g Wireless Access Point WG302v2 Reference Manual
C-18
Command Line Reference
v1.0, May 2006
Set the DTIM Interval
set bss wlan0bssvap0 dtim-period <1-255>
Enable Wi-Fi Multimedia
(WMM)
set radio wlan0 wme on
Disable Wi-Fi Multimedia
(WMM)
set radio wlan0 wme off
View QoS queue parameters
get tx-queue
AP EDCA parameters
Set AIFS on AP-to-station
traffic
set tx-queue wlan0 with queue <Queue_Name> to
aifs <AIFS_Value>
Example:
set tx-queue wlan0 with queue data0 to aifs 13
Set cwMin and cwMax
on
AP-to-station traffic
set tx-queue wlan0 with queue <Queue_Name> to
cwmin <cwmin_Value> cwmax <cwmax_Value>
Example:
set tx-queue wlan0 with queue data1 cwmin 15
cwmax 31
Set Max. Burst
on
AP-to-station traffic
set tx-queue wlan0 with queue <Queue_Name> to
burst <burst_Value>
Example:
set tx-queue wlan0 with queue data2 to burst 0.5
Station EDCA parameters
Set AIFS on station-to-AP
traffic
set wme-queue wlan0 with queue <Queue_Name>
to aifs <AIFS_Value>
Example:
set wme-queue wlan0 with queue vo to aifs 14
Set cwMin and cwMax
on
station-to-AP traffic
set wme-queue wlan0 with queue <Queue_Name>
to cwmin <cwmin_Value> cwmax <cwmax_Value>
Example:
set wme-queue wlan0 with queue vi cwmin 7 cwmax 15
Set TXOP Limit
on
station-to-AP traffic
set wme-queue wlan0 with queue <Queue_Name>
to txop-limit <txop-limit_Value>
Example:
set wme-queue wlan0 with queue vo to
txop-limit 49
Table C-16
Advanced Wireless Settings (continued)
Task
Command

Rate

4 / 5 based on 1 vote.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top