The text of a manual · part 35 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 303 to 312
Pages 303 to 312 of 728, from WS5000 Series Switch System Reference Guide
The original document is the PDF (12 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol WS-5000
Page 303
CLI Command Reference
8-71
Table 8.6 set command’s display_parameter Summary Display Parameter
Description
Example set emergencypolicy
Set the Emergency Switch Policy page 8-72 set autoinstall
Enable/Disable auto-install page 8-73 set rfstats
Enables/Disables RF Stats gathering page 8-73 set licensekey
Update the port license page 8-74 set location
Set the switch location string page 8-75 set muidletimeout
Set the MU Idle Timeout value (for all MU's)
page 8-75 set rfthreshold
Set RF Stats threshold values for SNMP traps page 8-76 set logout
Set CLI auto session logout time page 8-77 set snmptrap
Enable/disable SNMP traps (global flag)
page 8-77 set vpnsupport
Enable VPN support page 8-78 set switchpolicy
Activate a Switch Policy page 8-78 set time
Set system time and/or date page 8-79 set zone
Set the time zone page 8-80 set clearstat
Clears Packet Stats page 8-81 set arpcache
(Cfg) Context Sets the address resolution display and control. The arp program displays and modifies the Internet-toEthernet with no flags, the program displays the current ARP entry for hostname. The host may be specified by name or by number, using Internet dot notation. Syntax set arpcache <command> <parameters>NAME Parameters hostname -a
The program displays all of the current ARP entries.
-d hostname
A super-user may delete an entry for the host called hostname with the -d flag.
-s hostname ether_addr [temp] [pub] [trail]
Create an ARP entry for the host called hostname with the Ethernet address ether_addr. The Ethernet address is given as six hex bytes separated by colons. The entry will be permanent unless the word temp is given in the command. If the word pub is given, the entry will be 'published'; i.e., this system will act as an ARP server, responding to requests for hostname even though the host address is not its own. The word trail indicates that trailer encapsulations may be sent to this host.
Page 304
8-72
WS 5000 Series System Reference
-f filename
Causes the file filename to be read and multiple entries to be set in the ARP tables. Entries in the file should be of the form hostname ether_addr [temp] [pub] [trail] with argument meanings as given above.
Example WS5000.(Cfg)> set arpcache -a Arp cache operation.... Status : Success. ARP Information: ? (157.235.208.246) at 00:00:0C:07:AC:01 [ether] on psdT WS5000.(Cfg)> set emergencypolicy
(Cfg) Context Sets a defined switch policy to be designated as the emergency switch policy (ESP). to the switch policy that will assume the role of emergency switch policy (ESP). The ESP is provided as a means to quickly return to a known, safe configuration. Use the emergencymode command to enable or disable the ESP. Note If the switch policy name includes “blank” spaces in the name, use quotation marks within the command. Syntax set emergencypolicy <emergencypolicyname> Parameters emergencypolicyname
Name of the switch policy to be designated as the emergency switch policy. To see available switch policies, use the switchpolicy command.
Example WS5000.(Cfg)> set emergencypolicy TestPolicy Setting 'TestPolicy' as Emergency Policy.... Status: Success. System information... System Name Description Switch Location Software Ver. Licensed to Copyright Serial Number Number of Licenses Max Access Ports Max Mobile Clients MU Idle Timeout value
: ABS01_DEPOT_081804 : WS5000 Wireless Network : : 2.1.0.0-011B : Symbol Technologies : Copyright (c) 2000-2005. All rights reserved. : 00A0F853C13D : 0 : 0 : 4096 : 1800 seconds
Page 305
CLI Command Reference
8-73
Active Switch Policy : wm_stores Emergency Switch Policy : TestPolicy Switch Uptime : 00d:00h:00m Global RF stats : Enabled # of Unassigned Access Ports : 2 Unassigned Access Ports : 1. 00:A0:F8:CD:ED:C1 [G]. 2. 00:A0:F8:CD:ED:C1 [A]. CLI AutoInstall Status : Disabled WS5000.(Cfg)> set autoinstall
(Cfg) Context Used to enable / disable the autoinstall feature. Syntax set autoinstall {enable|disable} Parameters enable
Enables the auto install feature disable
Disables the auto install feature
Example WS5000.(Cfg)> set autoinstall enable Enabling autoinstall.... done WS5000.(Cfg)> set rfstats
(Cfg) Context Enables/Disables RF statistics gathering for all or specific AP(s).It can take only one radioname|radioindex at a time. To enable RF statistics gathering for all active Radios, use set rfstats enable
To enable RF statistics gathering for Radio at index 1, use set rfstats radioindex 1 enable
Syntax set rfstats <radioname|radioindex> {<radioname|radioindex>} Parameters radioname
Adopted Radioname.
radioindex
Adopted Radioindex.
enable
To enable RF statistics gathering for all active Radios.
{enable|disable}
Page 306
8-74
WS 5000 Series System Reference disable
To disable RF statistics gathering for Radio at an index.
Example WS5000.(Cfg)> set rfstats radioindex 1 enable Success. Invalid input '[A]' Use quotes for name containing white space, e.g. "string1 string2" Access Port details... Name : 00:A0:F8:BF:8A:78 [A] Device type : AP300 Radio MAC Address : 00:A0:F8:BF:EE:68 Device MAC Address : 00:A0:F8:BF:8A:78 Port Type : A Description : Status : Unavailable Tx Channel : 52 Current Tx Channel : 0 Policy Attached : Default Access Port Policy Tx Power : 20 dBm Current Tx Power : 0 dBm Location : NIC Connected : Ethernet 1 VLAN id : None VLAN Tags seen : None CCA Mode : 1 CCA Threshold : 1 Diversity : Full Maximum MUs allowed : 256 No. of MUs associated : 0 Up Time : 0d:0h:0m Statistics gathering : Enable Tx Packets/second : 0 Antenna : external Indoor/Outdoor : in DFS : Off TPC : Off Antenna Correction : 0 MU Power Adjustment : 0 All Channels : 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 16,5 Radar Channels : Valid Power Range : 4-20 DetectorAP : disable On Channel Scan : enable WS5000.(Cfg)> set licensekey
(Cfg) Context Sets the license key for the switch. The license key, issued by Symbol, is used to determine the number of APs and MUs that the switch is able to support. Syntax set licensekey <licensekey>
Page 307
CLI Command Reference
8-75
Parameters licensekey
The license key, issued by Symbol. The switch must be configured as “Primary” if updating the license key. Use the set mode command to set the switch mode, if not already set as Primary.
Example WS5000.(Cfg)> set licensekey <licensekey> set location
(Cfg) Context Sets an informational location string for where the switch is located. Syntax set location <string> Parameters location
Enter a string for where the switch is located, such as the NOC city, or campus building #, for example. This information is displayed using the show system command.
Example WS5000.(Cfg)> set location US Setting the location string.... Status: Success. System information... System Name : WS5000 Description : WS5000 Wireless Network Switch Location : US Software Ver. : 2.1.0.0-014B Licensed to : Symbol Technologies Copyright : Copyright (c) 2000-2006. All rights reserved. Serial Number : 00A0F865A8E0 Number of Licenses : 8 Max Access Ports : 8 Max Mobile Clients : 4096 MU Idle Timeout value : 1800 seconds Active Switch Policy : Default Wireless Switch Policy Emergency Switch Policy : Not defined Switch Uptime : 01d:07h:29m Global RF stats : Disabled # of Unassigned Access Ports : 0 CLI AutoInstall Status : Enabled WS5000.(Cfg)> set muidletimeout
(Cfg) Context Use set muidletimeout to set the MU Idle Timeout value (for all MUs).
Page 308
8-76
WS 5000 Series System Reference
MU idle timeout, It is the time for which each MU’s details ( which are associated) will retian in the switch database. This helps MUs in PSP mode not ot get removed from the database till the timeout value expires. The default value is 30 minutes. Syntax set muidletimeout <muIdleTimeout value> Parameters muIdleTimeout
The time duration for which the MU should be idle
Example WS5000.(Cfg)> set muidletimeout 88 Setting the MU Idle Timeout value.... Status: Success. System information... System Name : WS5000 Description : WS5000 Wireless Network Switch Location : US Software Ver. : 2.1.0.0-014B Licensed to : Symbol Technologies Copyright : Copyright (c) 2000-2006. All rights reserved. Serial Number : 00A0F865A8E0 Number of Licenses : 8 Max Access Ports : 8 Max Mobile Clients : 4096 MU Idle Timeout value : 88 seconds Active Switch Policy : Default Wireless Switch Policy Emergency Switch Policy : Not defined Switch Uptime : 01d:07h:30m Global RF stats : Disabled # of Unassigned Access Ports : 0 CLI AutoInstall Status : Enabled WS5000.(Cfg)> set rfthreshold
(Cfg) Context Syntax set rfthreshold <Type> <Thresholdname> <Thresholdvalue / reset> Parameters
Type
Placeholder for the type of RF threshold. It can be either AP, MU or Switch.
Thresholdname
Placeholder for the threshold associated with each of the threshold type mentioned above.
Thresholdvalue
Place holder for the value that can be associated with each of the threshold name.
Example WS5000.(Cfg)> set rfthreshold mu pps 100 Success.
Page 309
CLI Command Reference
Mu Threshold details : Status Min Packets for RF Traps Packets Per Second Throughput in Mbps Average Bit Speed in Mbps Percent of NUCast Packets Average Signal in Dbm Average Retries Percent of Dropped Packets Percent of Undecryp Packets
8-77
: disabled : Not Set : 100 : Not Set : Not Set : Not Set : Not Set : Not Set : Not Set : Not Set
Note The threshold value for all the threshold names, except for average signal, can be between zero and (no maximum limit).
Note The value for Average signal, measured in Dbm, must always be below zero (negative value).
set logout
(Cfg) Context Sets the CLI’s auto-logout time, in minutes. Syntax set logout <#minutes> Parameters
#minutes
CLI’s auto-logout time, in minutes. Valid values are 0 through 1440 (24 hours). Use 0 to disable auto-logout.
Example WS5000.(Cfg)> set logout 10 Setting auto-logout time (10 min) for CLI.... done. WS5000.(Cfg)> set logout 0 Disabling auto log-off.... done. WS5000.(Cfg)> set snmptrap
(Cfg) Context Enables or disables SNMP traps, globally. Syntax set snmptrap <snmptrap_flag>
Page 310
8-78
WS 5000 Series System Reference
Parameters snmptrap_flag
Indicates whether to enable or disable SNMP traps on the switch. Possible values are: • enable • disable
Example WS5000.(Cfg)> set snmptrap enable Setting SNMP Trap status.... Status: Success. SNMP details: ------------SNMP (deamon) Status : Enabled SNMP Traps : Enabled WS5000.(Cfg)> set snmptrap disable Setting SNMP Trap status.... Status: Success. SNMP details: ------------SNMP (deamon) Status SNMP Traps WS5000.(Cfg)>
: Enabled : Disabled set vpnsupport
(Cfg) Context Used to enable or disable the VPN support. Syntax set vpnsupport enable|disable <license file> Parameters enable
Use this to enables the VPN support.
disable
Use this to disables the VPN support.
license_file
Use this to enter the location for the VPN license file.
Example WS5000.(Cfg)> set vpnsupport enable This command will reset the system. Are you sure (yes/no) : y Setting VPN Support status.... Status: Need minimum 256MB ram to enable vpn support ! WS5000.(Cfg)> set switchpolicy
(Cfg) Context Sets a defined switch policy to be designated as the active switch policy.
Page 311
CLI Command Reference
8-79
Note If the switch policy name includes “blank” spaces in the name, use quotation marks within the command. Syntax set switchpolicy <spolicy_name> Parameters spolicy_name
Name of the switch policy to be designated as the active switch policy. To see available switch policies, use the switchpolicy command.
Example WS5000.(Cfg)> set switchpolicy "Default Wireless Switch Policy" Setting active Switch Policy to 'Default Wireless Switch Policy'.... Status: Success. System information... System Name : WS5000 Description : WS5000 Wireless Network Switch Location : San Francisco Software Ver. : 2.1.0.0-008D Licensed to : Symbol Technologies Copyright : Copyright (c) 2000-2005. All rights reserved. Serial Number : 00A0F8658C10 Number of Licenses : 48 Max Access Ports : 48 Max Mobile Clients : 4096 Active Switch Policy : Default Wireless Switch Policy Emergency Switch Policy : EmerPolicy2-10 Switch Uptime : 09d:22h:02m # of Unassigned Access Ports : 2 Unassigned Access Ports : 1. 00:A0:F8:6E:4A:7A [G]. 2. 00:A0:F8:BB:B3:6D [G]. WS5000.(Cfg)> set time
(Cfg) Context Sets the system time and date based on the specified parameters. Syntax set time [time_format] [time_zone] Parameters time_format
The time to be set, in one of the following formats: • yyyymmddhhmm[.ss] • yymmddhhmm[.ss] • mmddhhmm[.ss] • ddhhmm[.ss] • hhmm[.ss]
Page 312
8-80
WS 5000 Series System Reference time_zone
Valid range is -12:00 to +13:00 [+/-](HH:MM), where 0.00 is Greenwich Mean Time. Note that the ‘+’ must be included for positive timezone values.
Note In WS5000 2.1, Daylight Saving is enabled by default
Example WS5000.(Cfg)> set time 200502110145.11 -08:00 Setting system time/date... Status: Success. System clock: Date :
01:45:11 AM Fri Feb 11 2005
Time Zone : (GMT -08:00) Pacific Time (US & Canada); Tijuana WS5000.(Cfg)> set zone
(Cfg) Context Sets the time zone, without changing the time and date. Syntax set zone <time_zone> Parameters time_zone
Valid range is -12:00 to +13:00 [+/-](HH:MM), where 0.00 is Greenwich Mean Time. Note that the ‘+’ must be included for positive timezone values.
Note In WS5000 2.1, Daylight Saving is enabled by default
Example WS5000.(Cfg)> date System clock: Date :
01:52:52 AM Fri Feb 11 2005
Time Zone : (GMT -08:00) Pacific Time (US & Canada); Tijuana WS5000.(Cfg)> WS5000.(Cfg)> set zone -12:00