Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 65 of 81

WS5000 Series Switch System Reference Guide: CH 9 Service Mode CLI, pages 603 to 612

Pages 603 to 612 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 603

Service Mode CLI

9-21

Example SM-WS5000> restore configuration kp.cfg This command will reset the system and boot up with the new configuration. Do you want to continue (yes/no)

: yes

Restoring configuration from kp.cfg Rebooting the switch...

9.2.29 rfping This command is used to ping to the Access Port. You need to enter the Access Port MAC address to ping. Syntax rfping <mac address> [<count>] Parameters mac_address

The MAC address of the Access Port to which you want to ping.

count

The number of ping attempts to be made

Example SM-WS5000> rfping 00:A0:F8:B5:59:1E 4 Sending (4) WNMP Ping to 00:A0:F8:B5:59:1E WnmpPing reply 1 received successfully WnmpPing reply 2 received successfully WnmpPing reply 3 received successfully WnmpPing reply 4 received successfully SM-WS5000>

9.2.30 save This command is used to save the running system configuration to a file. Syntax save <save_option> [nocertificate] <file_name> Parameters save_option

It ca nbe one of the following three: • configuration, Save the present configuration in file_name. • history, Save global command history in <file_name>. • packets, Save captured packets in <file_name> (last packet first).

nocertificate

Use nocertificate option to save configuration without RADIUS certificates.

file_name

The name you assign to the file.

Page 604

9-22

WS5000 Series Switch System Reference

Example SM-WS5000> save config TestConfig Saving running configuration in: TestConfig.cfg Saving wireless network management configuration... Configuration saved successfully. SM-WS5000>

9.2.31 setThresholds This command is used to set/clear thresholds for monitoring.Whenever any of the cpu/mem/disk usage goes above the specified threshold percent value, an alert is sent. As long as the usage remains above this threshold, no more alerts are sent. When the usage goes down and subsequently, this threshold is crossed, an alert will be sent again, and so on. Please enable monitoring using 'set monitor' command before using this command. Specify zero value to disable corresponding threshold monitoring. Syntax setThresholds [-c <nn>] [-m <nn>] [-d <nn>] Parameters

-c <nn>

Add syslog when cpu usage percent goes above <nn>.

-d <nn>

Add syslog when disk usage percent goes above <nn>.

-m <nn>

Add syslog when memory usage percent goes above <nn>.

Example SM-WS5000> setThresholds -c 95 Various thresholds are now: CPU Usage : 95% Memory Usage : Monitoring disabled Disk Usage : Monitoring disabled

Alert Sent: No

SM-WS5000>

9.2.32 shell This command is used to enter into the embedded OS Command prompt and environment. Syntax shell Parameters

None

Page 605

Service Mode CLI

Example SM-WS5000> shell Entering into O.S.Command shell.... password: WS5000# WS5000# exit SM-WS5000>

9.2.33 show Displays a list of details about the WS5000 system related to the chosen display_parameter. Syntax show <display_parameter> Parameters show aaa-server

Display AAA information show accessports

Display details of all access ports or all available access ports show acl

Display ACL information show allconfig

Display all config details show appolicy

Display Access Port Policy show autoinstalllog

Display autoinstall log show ce

Display Classifiers show cfghistory

Display configuration change history show cg

Display Classification Group show channelinfo

Display channel no and country code details show chassis

Display Chassis details show configaccess

Display configured system access restrictions show cpuUsage

Displays CPU Usage show ddnsupdatealllog

Display the current system restore log show debuglog

Display the current dynamic debug log show ethernet

Display Ethernet Port details show etherpolicy

Display EtherPolicy details show events

Show Syslog event details show ftp

Display FTP status show host

Display the Hosts defined in the system show https

Display the Applet access type (http/https).

show interfaces

Display interface details show kdc

Display KDC details show knownap

Display known APs in the neighborhood.

show lan

Display LAN details show logfolder

Display the current Log folder contents

9-23

Page 606

9-24

WS5000 Series Switch System Reference show mu

Display MU details (list)

show musummary

Display MU summary show np

Display Network Policy information show po

Display Policy Object information show radius-server

Display RADIUS information show restorelog

Display the current system restore log show routes

Display configured routes show securitypolicy

Display security policy details show sensor

Display Sensor's and AP 300's / Sensor details show snmpclients

Display the SNMP Client/community details show snmpstatus

Display SNMP status show ssh

Display SSH configuration show standby

Display Standby configuration show switchpolicy

Display Switch Policy show sysalerts

Display system alert logs (events)

show syslog

Display Syslog details show sysstat

Display the current system status show system

Display system information show telnet

Display Telnet status show time

Display date and time information show traphosts

Display the SNMP trap-host details show tunnels

Display Tunnel details show users

Display user information show version

Display the system version details show vlan

Display VLAN details show vpnsupportstatus

Display vpn support status show watchdog

Display the watch dog status show wlan

Display WLAN details

Page 607

Service Mode CLI

9-25

Example SM-WS5000> show accessports Access Ports Status -----------1 00:A0:F8:BC:E8:F2 [G] Unavailable 2 00:A0:F8:BC:E8:F2 [A] Unavailable 3 00:A0:F8:BF:8A:9F [G] 4 00:A0:F8:BF:8A:9F [A]

Radio MAC

Device MAC

Type

---------

----------

----

00:A0:F8:BC:97:48

00:A0:F8:BC:E8:F2

G

00:A0:F8:BF:99:00

00:A0:F8:BC:E8:F2

A

00:A0:F8:BF:E0:EC 00:A0:F8:BF:ED:00

00:A0:F8:BF:8A:9F 00:A0:F8:BF:8A:9F

G Active A Active

No. of Active Access Ports/Radios: 1/2 SM-WS5000>

9.2.34 showAPFirmware This command is used to show Access Port image information. Syntax showAPFirmware Parameters

None Example SM-WS5000> showAPFirmware AP Firmware is loaded with following image -----------------------------------------ap-302x-revert.bin.img root 329596 Mar 9 ap-302x.bin.img root 169664 Mar 9 ap-413x-revert.bin.img root 665704 Mar 9 ap-413x.bin.img root 191440 Mar 9 ap-41xx-revert.bin.img root 391688 Mar 9 ap-41xx.bin.img root 158924 Mar 9 ccrf-5020.bin.img root 31034 Mar 9 wsap-5030.bin.img root 257860 Mar 9 wsap-51x0-sensor.bin.img root 295196 Mar 9 wsap-51x0.bin.img root 293320 Mar 9 -----------------------------------------SM-WS5000>

9.2.35 showBuildInfo This command is used to show current build information. Syntax showBuildInfo Parameters

None

-----

Page 608

9-26

WS5000 Series Switch System Reference

Example SM-WS5000> showBuildInfo WVPND ver= 126 RFIMG ver= ap-302x-revert.bin.img root 329596 Mar 9 RFIMG ver= ap-302x.bin.img root 169664 Mar 9 RFIMG ver= ap-413x-revert.bin.img root 665704 Mar 9 RFIMG ver= ap-413x.bin.img root 191440 Mar 9 RFIMG ver= ap-41xx-revert.bin.img root 391688 Mar 9 RFIMG ver= ap-41xx.bin.img root 158924 Mar 9 RFIMG ver= ccrf-5020.bin.img root 31034 Mar 9 RFIMG ver= wsap-5030.bin.img root 257860 Mar 9 RFIMG ver= wsap-51x0-sensor.bin.img root 295196 Mar 9 RFIMG ver= wsap-51x0.bin.img root 293320 Mar 9 CC root 5384312 Mar 9 CLI root 2974924 Mar 9 SNMPD root 2708330 Mar 13 DHCP SERVER root 559164 Mar 9 SYSLOG DAEMON root 27808 Jan 24 Patches Installed: None. SM-WS5000>

9.2.36 showDiskUsage This command is used to show current disk usage. Syntax showDiskUsage Parameters

None Example SM-WS5000> showDiskUsage Disk Space: In Use: 95%

Free: 5%

SM-WS5000>

9.2.37 showHardwareInfo This command is used to view the hardware information of the switch. Syntax showHardwareInfo Parameters

None

Page 609

Service Mode CLI

Example SM-WS5000> showHardwareInfo Hardware Type Ethernet Port Type DOM Size RAM Size

: 5000 : 10/100 : 121M : 376 M

SM-WS5000>

9.2.38 showMemUsage This command is used to view the current memory usage. Syntax showMemUsage Parameters

None Example SM-WS5000> showMemUsage total: used: free: shared: buffers: cached: Mem: 395223040 135512064 259710976 0 8073216 55934976 Swap: 0 0 0 MemTotal: 385960 kB MemFree: 253624 kB MemShared: 0 kB Buffers: 7884 kB Cached: 54624 kB SwapCached: 0 kB Active: 27048 kB Inactive: 48424 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 385960 kB LowFree: 253624 kB SwapTotal: 0 kB SwapFree: 0 kB Committed_AS: 63244 kB VmallocTotal: 647148 kB VmallocUsed: 44596 kB VmallocChunk: 602552 kB SM-WS5000>

9.2.39 showThresholds This command is used to view current values of various thresholds for monitoring. Syntax showThresholds Parameters

None

9-27

Page 610

9-28

WS5000 Series Switch System Reference

Example SM-WS5000> showThresholds Various thresholds are now: CPU Usage : Monitoring disabled Memory Usage : Monitoring disabled Disk Usage : Monitoring disabled SM-WS5000>

9.2.40 watchdogtimer This command is used t oeither enable or disable the watch dog timer. Syntax watchdogtimer <enable/disable> Parameters enable/disable

Either enable or disable the watch dog timer.

Example SM-WS5000> watchdogtimer enable Watch Dog Timer status:

Enabled

SM-WS5000>

9.2.41 wvpnctl This command is used to configure wvpn server logging. Syntax wvpnctl enable [flags=<flags>] [size=<size>] [filename=<name>] or wvpnctl disable Parameters enable

Enable wvpn logging.

disable

Disable wvpn logging.

flags

WVPN logging filter flags.

size

Maximum file size of WVPN log.

filename

WVPN log file name (complete path).

Page 611

Service Mode CLI

9-29

Example SM-WS5000> wvpnctl enable size=1024 filename=/image/Testwvpn WVPN debugging is now enabled with filename="/image/Testwvpn" size="1024" flags="All" SM-WS5000>

9.3 Diagnosing problems in WS5000/WS5100 Switch The WS5000/WS5100 generates logs for various features in /log folder which cannot be seen using CLI, Applet or SNMP.

9.3.1 Diagnose User 1. To view the log files in the /log folder, use the new diagnose login created in the switch with the following details Diagnose Username : diagnose Diagnose Password

: bf20jbin

2. Once logged in, the diagnose user can go to logs folder using the following command cd /log

3. To view the list of log files the user can use the following command ls -l

4. You can view the contents of any specific log file using cat command as follows cat <filename>

5. If the file is longer than one screen of display, you can see the contents of the file one screen at a time using the following command. cat <filename> | more

For example, to find out when the switch was last started or rebooted, you can view the file shutdownhistory.log using the following command cat shutdownhistory.log

Use the cat command as mentioned baove to view: •

The CC logs (if enabled in the file /CC/dd.conf) in the file /CC/CCErrors.txt.

•

The logs of the CC during the previous boot can be seen in the file /CC/CCErrors.txt.save.

If the switch has crashed for some reason, then a file called Fault.dmp will be generated in /CC folder. This contains the trace of the stack at the time the switch was crashed. The switch administrator can send the logs/Fault.dmp to the engineering team using the standard ftp/tftp command.

Page 612

9-30

WS5000 Series Switch System Reference

9.3.2 Finding whether a particular process is running or not 1. Login to the switch as diagnose user and execute any of the following command ps -amx | grep <process_name>

2. If the process is running then this displays the process name together with its process id, else 3. Use the following command to view the process ID of the process, if it is running pidof <process_name>

9.3.3 Encrypt, Launch and Execute commands of Service mode CLI launch command is modified in WS5000 2.1, to take an additional argument which indicates the encrypted version of root password for security reasons. It is a mandatory requirement for launch command to take this encrypted version of root password as argument.

9.3.3.1 encrypt Command The encrypt command is available under config context of service mode CLI. This command takes a string as an argument and returns its equivalent encrypted version. This is used primarily to create the encrypted version of the root password which is then passed as the argument to launch command. The encrypted version of the root password is "14c8bf727be6e37b3fbd25489b00b3b1".

9.3.3.2 launch Command The launch command is available under both "system" and "config" context of Service mode CLI. This command can be used to execute any linux command or any script (or any executable program) placed in /scripts/engg folder. Its syntax is Syntax launch -p <key> <option> <program_name> Parameters key

Is the secret key for password to access launch command.

option

It can one of the following:

• {-c|-f} - c for command and -f for file. program_name

• For -c option it is command name. • For -f option it is a file name to be executed.

9.3.4 execute Command This command is available under "system" context of Service mode CLI. This command is used to install patches provided by the engineering team. Its syntax is SM-WS5000> Execute

This command will prompt for the patch file name which should be present in the /image folder of the switch.