The text of a manual · part 33 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 283 to 292
Pages 283 to 292 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 283
CLI Command Reference
8-51
Parameters ce_name
Name of the configurable classifier.
Example WS5000.(Cfg)> ce Classifier information... Available Classifiers (CE): 1. Ex HTTP Traffic. 2. Ex Telnet Traffic. 3. RTP_Data. 4. Spectra_Link_Phone. 5. VoIP_Call_Setup_In. 6. VoIP_Call_Setup_Out. 7. VoIP_Ext_Services_Out. 8. VoIP_Ext_Services_In. 9. VoIP_RAS_In. 10. VoIP_RAS_Out. 11. New HTTP Traffic Classifier. WS5000.(Cfg).CE>
8.5.11 cg
(Cfg) Context Display the list of currently available classification group for the switch. Also, the context is changed to the Classification Group (CG) Context. See page 8-163 for more details. Syntax cg or cg_name Parameters
None. Example WS5000.(Cfg)> cg Classification Group information... Available Classification Groups: 1. NetVision_VoIP_In. 2. NetVision_VoIP_Out. 3. New Classification Group. WS5000.(Cfg).CG>
8.5.12 chassis
(Cfg) Context Display the currently available chassis environmental details for the switch. Also, the context is changed to the Chassis Context. See page 8-170 for more details.
Page 284
8-52
WS 5000 Series System Reference
Syntax chassis Parameters
None. Example WS5000.(Cfg)> chassis Description ----------CPU Temperature System Temperature System Fan (rpm) CPU Fan (rpm) System Fan 2 System Fan 3 System Fan 4
Curr Value ---------42 C 37 C 8544 21093 OFF OFF 15340
Max Value --------48 C 40 C 8653 24500 15340
Min Value --------40 C 36 C 8437 5000 15000
Notify Value -----------0 C 0 C None None None None None
WS5000.(Cfg).Chassis>
8.5.13 clear
(Cfg) Context Clear the screen of all running command input and output entries. Syntax clear Parameters
None. Example WS5000> clear
8.5.14 copy
(Cfg) Context Copies a file from the switch to a (T)FTP server, or vice versa. The following types of files can be transferred via TFTP or FTP: •
*.sys.img
•
*.cfg
•
*.sym
•
*.krb (FTP only)
!
IMPORTANT! DO NOT USE THIS COMMAND FOR FILES LARGER THAN 32MB.
Page 285
CLI Command Reference
8-53
Syntax
For TFTP: copy <source> <destination>
For FTP: copy <source> <destination> [ -u <ftp_user> ] [ -m <ftp_mode> ] Parameters source
The source of the file. Possible values are: • [protocol:]//<hostname or IP address>/[filename]. For example, ftp://<ipAddress/path/[file_name]. • tftp • ftp • system • . • <filename, including path> destination
The destination of the file. Possible values are: • tftp • ftp • system • . • / • [protocol:]//<hostname or IP address> ftp_user
FTP username. Default is anonymous.
mode
FTP transfer mode, either ascii or binary. Default is binary.
Example WS5000.(Cfg)> copy tftp system Enter the file name to be copied from TFTP server : backup.sys.img IP address of the TFTP server : 10.1.1.1 Copying 'backup.sys.img' from tftp://10.1.1.1 to Switch...
or WS5000.(Cfg)> copy ftp://100.10.10.1/ftpimages/DefaultConfig.cfg system Copying 'DefaultConfig.cfg' from ftp://100.10.10.1/ftpimages/ to Switch...
8.5.15 date
(Cfg) Context Display or sets the system time and date. When no parameters, this command displays the time/date currently set. Otherwise, it modifies the time/date based on the specified parameters. Syntax date [time_format] [time_zone]
Page 286
8-54
WS 5000 Series System Reference
Parameters time_format
The time to be set, in one of the following formats: • yyyymmddhhmm[.ss] • yymmddhhmm[.ss] • mmddhhmm[.ss] • ddhhmm[.ss] • hhmm[.ss] 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 200502110245.11 -08:00 1 Setting system time/date... Status: Success. Fri Feb 11 02:45:11 PST 2005 Time Zone : (GMT -08:00) Pacific Time (US & Canada); Tijuana WS5000.(Cfg)> date Fri Feb 11 02:45:15 PST 2005 Time Zone : (GMT -08:00) Pacific Time (US & Canada); Tijuana
8.5.16 delete
(Cfg) Context Deletes the specified image or config file from the switch. Use the directory command to list the files that can be deleted. Note As a shortcut, “del” can be used instead of “delete”.
Syntax delete <filename> Parameters filename
Name of file to be deleted.
Page 287
CLI Command Reference
Example WS5000.(Cfg)> directory Date & Time Bytes Jan 11 Jan 11 Jan 6 Jan 4
2006 2006 2006 2006
86588 86137 6453 15484
File Name WS5000Defaults_v2.1.0.0-012B.cfg WS5k_Auto_v2.0.0.0-034R_20060111.cfg cmd_template.sym upgrade.cfg
WS5000.(Cfg)> delete WS5000Defaults_v2.1.0.0-012B.cfg
8.5.17 description
(Cfg) Context. Sets a description to the policy of the item in the selection. Syntax description <description_text> Parameters description_text
Enter brief text to describe a configuration item.
Example WS5000.(Cfg)> description “Created 7-14-05”
8.5.18 directory
(Cfg) Context Lists the image and configuration files that are stored on the WS5000. Note As a shortcut, “dir” can be used instead of “directory”.
Syntax directory Parameters
None. Example WS5000.(Cfg)> directory Date & Time Bytes Jan 11 Jan 11 Jan 6 Jan 4
2006 2006 2006 2006
WS5000.(Cfg)>
86588 86137 6453 15484
File Name WS5000Defaults_v2.1.0.0-012B.cfg WS5k_Auto_v2.0.0.0-034R_20060111.cfg cmd_template.sym upgrade.cfg
8-55
Page 288
8-56
WS 5000 Series System Reference
8.5.19 emergencymode
(Cfg) Context Enables or disables the “Emergency” Switch Policy (ESP), a switch policy that can activated (enabled) at any time in case of an emergency. When ESP is deactivated (disabled), the previous switch policy is reactivated. To set the emergency policy, use the emergencymode command. Syntax emergencyMode <enable/disable> Parameters enable / disable
Indicates whether to enable or disable the ESP.
Example WS5000.(cfg)> emergencymode enable
8.5.20 encrypt
(Cfg) Context Use this command to get the encrypted password.This command encrypts CLI user passwords, kerberos user passwords, service mode password, vpn simple auth password, radius secret, WEP keys.This encrypted password is used in autoinstall command file. Syntax encrypt <password> Parameters password
The password to be encrypted.
Example WS5000.(Cfg)> encrypt <symbol> Encrypting password '<symbol>'.... Actual Password <symbol> Encrypted Password 4527w5630f51f WS5000.(Cfg)>
8.5.21 ethernet
(Cfg) Context Display the currently available ethernet ports for the switch. Also, the context is changed to the Ethernet Port Context. See page 8-172 for more details. Syntax ethernet Parameters
None.
Page 289
CLI Command Reference
8-57
Example WS5000.(Cfg)> ethernet Available EtherPorts are: Ethernet 1 Ethernet 2 WS5000.(Cfg).Ethernet>
8.5.22 etherpolicy
(Cfg) Context Display the currently available ethernet policies applied to the switch. Also, the context is changed to the Ethernet Policy (EtherPolicy) Context. See page 8-178 for more details. Syntax etherpolicy Parameters
None. Example WS5000.(Cfg)> etherpolicy Available EtherPolicies are: 1. Default Ethernet Policy. 2. New Ethernet Port Policy. 3. eth1. WS5000.(Cfg).EtherPolicy>
8.5.23 events
(Cfg) Context Display the event settings currently applied to the switch. Also, the context is changed to the Event Context. See page 8-186 for more details. Syntax events Parameters
None. Example WS5000.(Cfg)> events Num Events --- -----1 RF Stats threshold crossed by a AP 2 RF Stats threshold crossed by a MU 3 RF Stats threshold crossed by a WLAN 4 RF Stats threshold crossed by Switch 5 AP is converted to sensor 6 Sensor is reverted back to AP 7 Failed to communicate to a sensor
Local Log --------Enabled Enabled Enabled Enabled Enabled Enabled Enabled
SNMP Trap --------Disabled Disabled Disabled Disabled Disabled Disabled Disabled
Syslog Severity --------------Disabled Disabled Disabled Disabled Disabled Disabled Disabled
Page 290
8-58
WS 5000 Series System Reference
8 Sensor is no longer responding to ping Enabled 9 Switch configuration changed Disabled 10 Miscellaneous debug events Disabled 11 Tunnel Status change Enabled 12 NON IP packet received on Tunnel Enabled 13 License number change Enabled 14 Clock change Enabled 15 Packet discard [wrong NIC] Enabled 16 Packet discard [wrong VLAN] Enabled 17 AP adopt failure [general] Enabled 18 AP adopt failure [policy disallow] Enabled 19 AP adopt failure [acl disallow] Enabled 20 AP adopt failure [limit exceeded] Enabled 21 AP adopt failure [license disallow] Enabled 22 AP adopt failure [no image] Enabled 23 AP status [offline] Enabled 24 AP status [alert] Enabled 25 AP status [adopted] Enabled 26 AP status [reset] Enabled 27 AP config failed [no ESS] Enabled 28 AP max MU count reached Enabled 29 AP detected Enabled 30 Device msg dropped [info] Enabled 31 Device msg dropped [loadme] Enabled 32 Ether port connected Enabled 33 Ether port disconnected Enabled 34 MU assoc failed [ACL violation] Enabled 35 MU assoc failed Enabled 36 MU status [associated] Enabled 37 MU status [roamed] Enabled 38 MU status [disassociated] Enabled 39 MU EAP auth failed Enabled 40 MU EAP auth success Enabled 41 MU Kerberos auth failed Enabled 42 MU Kerberos auth success Enabled 43 MU TKIP [decrypt failure] Enabled 44 MU TKIP [replay failure] Enabled 45 MU TKIP [MIC error] Enabled 46 WLAN auth success Enabled 47 WLAN auth failed Enabled 48 WLAN max MU count reached Enabled 49 Mgt user auth failed [radius] Disabled 50 Mgt user auth rejected Disabled 51 Mgt user auth success [radius] Enabled 52 Radius server timeout Enabled 53 KDC user [added] Enabled 54 KDC user [changed] Enabled 55 KDC user [deleted] Enabled 56 KDC DB replaced Enabled 57 KDC propagation failure Enabled 58 WPA counter-measures [active] Enabled 59 Primary lost heartbeat Enabled 60 Standby active Enabled 61 Primary internal failure [reset] Enabled 62 Standby internal failure [reset] Enabled 63 Standby auto-revert Enabled 64 Primary auto-revert Enabled 65 Auto channel select error Enabled 66 Emergency Policy [active] Enabled 67 Emergency Policy [deactivated] Enabled 68 Low flash space on switch Enabled 69 HSB Starts Up Enabled 70 HSB Peer Connect Enabled 71 CPU/SYS Temp Notification Enabled
Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Disabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Disabled Enabled Enabled Disabled Disabled Disabled Enabled Disabled Disabled Disabled Enabled Enabled Enabled Disabled Enabled Disabled Disabled Enabled Enabled Enabled Enabled Enabled Enabled Disabled Disabled Enabled
Disabled Disabled Disabled crit alert crit info err err crit crit alert crit crit crit alert alert debug info crit warning info debug debug info alert info info info info info err info err info debug debug debug info debug debug warning warning info notice notice notice notice notice alert debug alert alert alert alert alert alert err info warning alert alert alert crit
Page 291
CLI Command Reference
72 Access Changed Notification 73 Radio power is reduced [TPC] 74 Radar is detected [DFS] 75 Channel selected to avoid radar [DFS] 76 Switch to new channel [DFS] 77 Revert back to original channel [DFS] 78 Radio is suspended 79 Radio is resumed 80 Radio is moved to random channel 81 A new rogue AP is detected 82 A new approved AP is detected 83 WVPN certificate anomalies 84 WVPN Config/connection changes 85 RADIUS Accounting Log 86 RADIUS Server Status
Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Disabled Enabled
Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled
8-59 info alert alert alert alert alert alert alert alert alert alert alert alert info alert
WS5000.(Cfg).Event>
8.5.24 export
(Cfg) Context This CLI is used to copy the log files from switch to remote TFTP server. Use logdir to view the list of user log files that can be exported. This is an interactive command and asks for a.
destination: Remote TFTP host b.
filename : Log file name to be exported to the remote TFTP server.
c.
username : Enter the user name which you mentioned at the time of logfile creation when using diag command.
Default user name is admin. Syntax export Parameters
None. Example WS5000.(Cfg)> export VPN is NOT supported ... Creating the Event list... Enter the log file name : WS5000 Enter the user name : admin WS5000.(Cfg)>
8.5.25 ftp
(Cfg) Context Display the FTP settings currently applied to the switch. Also, the context is changed to the FTP Context. See page 8-198 for more details.
Page 292
8-60
WS 5000 Series System Reference
Syntax ftp Parameters
None. Example WS5000.(Cfg)> ftp FTP Status:
Active.
WS5000.(Cfg).FTP>
8.5.26 fw
(Cfg) Context This CLI is used to configure Firewall and port filter rules. Syntax fw Parameters
None Example WS5000.(Cfg)> fw LAN information: Available LANs: 1. LAN1 2. LAN2 3. LAN_VPN WS5000.(Cfg)> fw
8.5.27 host
(Cfg) Context Display the host settings currently applied to the switch. Also, the context is changed to the Host Context. See page 8-209 for more details. Syntax host Parameters
None. Example WS5000.(Cfg)> host Host Name --------1 SFHost
IP Address Domain --------------157.235.208.117 symbol.com