cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
804
Views
0
Helpful
0
Comments
Jasperliang
Level 1
Level 1

 

1.Unified CM Setting

 

On Unified CM Administration under Phone Configuration, change username, password or keep the same as the default. Then enable SSH and save the setting.  

1234.png

 

 

 

 

 

 

 

 

2.SSH Login

 

Use the username and password to login then use both username and password debug to login to debug shell.

12312321.png

 

3.debug 

 

debug Commands

DEBUG> sdump  ... Real time logs 

DEBUG> dmesg  ... Real time kernel logs

DEBUG> debug  ...  debug Commands

 

show Commands

DEBUG> show config network

DEBUG> show config security

DEBUG> show debug

DEBUG> show inventory

DEBUG> show register

DEBUG> show tech

DEBUG> show version

 

show WLAN

DEBUG> wlancli show contscan_config

DEBUG> wlancli show current_ap

DEBUG> wlancli show neighbor_list

DEBUG> wlancli show profile profile-index (0-3)

DEBUG> wlancli show roaming_report

DEBUG> wlancli show site_survey_result

DEBUG> wlancli show supplicant status

DEBUG> wlancli show user_cert_info

DEBUG> wlancli show wlan_scan_mode

DEBUG> wlancli show wlan_stat

 

Other useful commands

DEBUG> ping 

DEBUG> uptime

DEBUG> date

DEBUG> reboot

DEBUG> show register

DEBUG> show tech

DEBUG> reset factory

 

4.show wlancli example

 

DEBUG> wlancli show contscan_config
ContScan config: pace = 4, interval = 2000, dfs = 1, rssi = 67
OK

DEBUG> wlancli show current_ap
ret 6
ret 6
AP Info:
SSID: uctac10, AP Name:APc067.af58.bcb, MAC Address: e8:ed:f3:61:26:3f
Frequency: 5.240Ghz, Current Channel: 48
Last RSSI: -52, Beacon Interval: 102
ieeeCaps: (0x1111) [ESS][PRIV][SPECTRUM][RADIOMEA]
Basic Rates: 12
OptionalRates: 18 24 36 48 54
DTIM Period: 2
Country Code: JP, Environment: Indoor/Outdoor
Channels [36 - 64] @ 22 dBm
Channels [100 - 140] @ 20 dBm
Power Constraint: 0dBm, Power Limit: 16dBm
Channel Utilization: 1%, Station Count: 1, Admission Capacity: 23437
caps: [WMM][CAC VO][UAPSD][PRXARP][WPA2][11n]
AC: Best Effort
Admission Control: No, AISFN: 3, ECWMin: 4, ECWMax: 10, TXOpLimit: 0
AC: Background
Admission Control: No, AISFN: 7, ECWMin: 4, ECWMax: 10, TXOpLimit: 0
AC: Video
Admission Control: No, AISFN: 2, ECWMin: 3, ECWMax: 4, TXOpLimit: 94
AC: Voice
Admission Control: Yes, AISFN: 2, ECWMin: 2, ECWMax: 3, TXOpLimit: 47
CCX Version: 5

OK


DEBUG> wlancli show neighbor_list
ret 6
ret 6
<version,nl-1.0>
<ssid,uctac10>
<channel,48><name,APc067.af58.bcb><bssid,e8:ed:f3:61:26:3f><rssi,-52><cu,1>
<channel,40><name,APc067.af58.bcd><bssid,e8:ed:f3:61:28:7f><rssi,-51><cu,5>

OK


DEBUG> wlancli show profile profile-index 0
ret 6
ret 6
name = uctac10
index = 0
enabled = 1
connected = 1
network_id = 0
status = Allowed
source = local
ssid = uctac10
band = Auto
security_type = PSK
powerSaveOnCall = 1
dhcp_enabled = 1
alt_tftp_enabled = 0
passphrase = *
OK


DEBUG> wlancli show roaming_report

******** Succ ROAMING_HANDOVERS ********
- Differential RSSI = 36
- MAX TX retries = 0
- TSPEC = 0
- BSS Loss TX = 0
- Switch Channel = 0
- AP Disconnect = 40
- SEC attack = 2

******** ROAMING STATISTICS ********
- Last roam duration = 158
- Num of succesful handovers = 38
- Succesful total handover duration = 14243252
- Succesful total roaming duration = 441169349
- Num of unsuccessful handovers = 21

OK


DEBUG> wlancli show site_survey_result
AP Info:
SSID: uctac10, AP Name:APc067.af58.bcd, MAC Address: e8:ed:f3:61:28:7f
Frequency: 5.200Ghz, Current Channel: 40
Last RSSI: -50, Beacon Interval: 102
ieeeCaps: (0x1111) [ESS][PRIV][SPECTRUM][RADIOMEA]
Basic Rates: 12
OptionalRates: 18 24 36 48 54
DTIM Period: 2
Country Code: JP, Environment: Indoor/Outdoor
Channels [36 - 64] @ 22 dBm
Channels [100 - 140] @ 20 dBm
Power Constraint: 0dBm, Power Limit: 16dBm
Channel Utilization: 1%, Station Count: 3, Admission Capacity: 23437
caps: [WMM][CAC VO][UAPSD][PRXARP][WPA2][11n]
AC: Best Effort
Admission Control: No, AISFN: 3, ECWMin: 4, ECWMax: 10, TXOpLimit: 0
AC: Background
Admission Control: No, AISFN: 7, ECWMin: 4, ECWMax: 10, TXOpLimit: 0
AC: Video
Admission Control: No, AISFN: 2, ECWMin: 3, ECWMax: 4, TXOpLimit: 94
AC: Voice
Admission Control: Yes, AISFN: 2, ECWMin: 2, ECWMax: 3, TXOpLimit: 47
CCX Version: 5

AP Info:
SSID: uctac10, AP Name:APc067.af58.bcb, MAC Address: e8:ed:f3:61:26:3f
Frequency: 5.240Ghz, Current Channel: 48
Last RSSI: -52, Beacon Interval: 102
ieeeCaps: (0x1111) [ESS][PRIV][SPECTRUM][RADIOMEA]
Basic Rates: 12
OptionalRates: 18 24 36 48 54
DTIM Period: 2
Country Code: JP, Environment: Indoor/Outdoor
Channels [36 - 64] @ 22 dBm
Channels [100 - 140] @ 20 dBm
Power Constraint: 0dBm, Power Limit: 16dBm
Channel Utilization: 7%, Station Count: 1, Admission Capacity: 23437
caps: [WMM][CAC VO][UAPSD][PRXARP][WPA2][11n]
AC: Best Effort
Admission Control: No, AISFN: 3, ECWMin: 4, ECWMax: 10, TXOpLimit: 0
AC: Background
Admission Control: No, AISFN: 7, ECWMin: 4, ECWMax: 10, TXOpLimit: 0
AC: Video
Admission Control: No, AISFN: 2, ECWMin: 3, ECWMax: 4, TXOpLimit: 94
AC: Voice
Admission Control: Yes, AISFN: 2, ECWMin: 2, ECWMax: 3, TXOpLimit: 47
CCX Version: 5

OK


DEBUG> wlancli show supplicant status
ret 6
ret 6
bssid=e8:ed:f3:61:26:3f
ssid=uctac10
id=0
mode=station
pairwise_cipher=CCMP
group_cipher=TKIP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=192.168.3.220
address=00:eb:d5:db:00:20

OK


DEBUG> wlancli show user_cert_info
ret 6
ret 6
get user cert failed!

DEBUG> wlancli show wlan_scan_mode
Scan Mode: CONTINUOUS
OK


DEBUG> wlancli show wlan_stat
ret 6
ret 6
NetDevice stats:
tx_bytes: 0
rx_bytes: 0
tx_pkts: 16568486
rx_pkts: 1515245
tx_pkts_dropped: 0
rx_pkts_dropped: 0
tx_pkts_err: 0
rx_pkts_err: 0
Firmware stats:
mcast_tx_frame: 1983968
failed: 1684
retry: 4465253
multi_retry: 942987
frame_dup: 409142
rts_success: 4032640
rts_failure: 342589
ack_failure: 5490614
rx_frag: 10411025
mcast_rx_frame: 28770
fcs_error: 3682432
tx_frame: 6508181
Roaming stats:
success current/total: 2/76
failure current/total: 0/21
OK

 

 

Translated from Cisco Japan support forum. https://community.cisco.com/t5/%E3%82%B3%E3%83%A9%E3%83%9C%E3%83%AC%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3-%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88/cp-8821-%E3%81%B8%E3%81%AE-ssh-%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E3%81%AB%E3%81%A4%E3%81...

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: