­

思科 | ME 系统相关的一些命令

  • 2020 年 4 月 10 日
  • 筆記
1、显示无线控制器SNMP相关日志信息
(Cisco Controller) > show traplog    Number of Traps Since Last Reset........... 2447  Number of Traps Since Log Last Displayed... 2447  Log System Time Trap  --- ------------------------ -------------------------------------------------  0 Thu Aug 4 19:54:14 2005 Rogue AP : 00:0b:85:52:62:fe detected on Base Rad  io MAC : 00:0b:85:18:b6:50 Interface no:1(802.11  b/g) with RSSI: -78 and SNR: 10  1 Thu Aug 4 19:54:14 2005 Rogue AP : 00:0b:85:52:19:d8 detected on Base Rad  io MAC : 00:0b:85:18:b6:50 Interface no:1(802.11  b/g) with RSSI: -72 and SNR: 16  2 Thu Aug 4 19:54:14 2005 Rogue AP : 00:0b:85:26:a1:8d detected on Base Rad  io MAC : 00:0b:85:18:b6:50 Interface no:1(802.11  b/g) with RSSI: -82 and SNR: 6  
2、时间信息
show  time  (Cisco Controller) >show time    Time............................................. Sun Mar 29 21:37:49 2020    Timezone delta................................... 0:0  Timezone location................................  
3、show tech-support

故障信息收集,对于有些疑难杂症需要人家协助,这个命令很重要 巴拉巴拉的一大堆东西

4、show sysinfo

显示系统版本、启动时间、国家代码等等一堆东西,对于无法启动web ,底层查看信息挺重要

OUI File Last Update Time........................ Sun Sep 07 10:44:07 IST 2014      Build Type....................................... DATA + WPS    System Name...................................... vWLC  System Location..................................  System Contact...................................  System ObjectID.................................. 1.3.6.1.4.1.9.1.1631  IP Address....................................... 172.16.1.99  IPv6 Address..................................... ::  System Up Time................................... 0 days 0 hrs 7 mins 36 secs  System Timezone Location.........................  System Stats Realtime Interval................... 5  System Stats Normal Interval..................... 180    --More-- or (q)uit    Configured Country............................... CN  - China    State of 802.11b Network......................... Enabled  State of 802.11a Network......................... Enabled  
5、show snmpcommunity

显示SNMP 团体名称

(Cisco Controller) >show snmpcommunity    IPSec mode: Disabled / Profile: none    SNMP Community Name Client IP Address                       Client IP Mask    Access Mode Status  ------------------- -----------------                       ----------------- ----------- --------  public              0.0.0.0                                  0.0.0.0           Read Only   Enable  **********          0.0.0.0                                  0.0.0.0           Read/Write  Enable  
6、show sessions

显示控制台端口登录超时和同时命令行界面的最大数量(CLI)会话

(Cisco Controller) >show sessions    CLI Login Timeout (minutes)............ 5  Maximum Number of CLI Sessions......... 5  

可以通过如下命令修改相关参数

config sessions maxsessions   默认最大是5  config sessions timeout     0-160分钟  
7、show route summary

显示路由摘要信息

show route summary  Number of Routes............................... 1  Destination Network Genmask Gateway  ------------------- ------------------- -------------------  10.10.1.0  255.255.255.0 172.16.1.1  
8、show network summary

显示无线局域网控制器的网络配置

(Cisco Controller) >show network summary  RF-Network Name............................. RF  Web Mode.................................... Disable  Secure Web Mode............................. Enable  Secure Web Mode Cipher-Option High.......... Disable  Secure Web Mode Cipher-Option SSLv2......... Disable  OCSP........................................ Disabled  OCSP responder URL..........................  Secure Shell (ssh).......................... Enable  Telnet...................................... Enable  Ethernet Multicast Mode..................... Disable Mode: Ucast  Ethernet Broadcast Mode..................... Disable  Ethernet Multicast Forwarding............... Disable  Ethernet Broadcast Forwarding............... Disable  AP Multicast/Broadcast Mode................. Unicast  IGMP snooping............................... Disabled  IGMP timeout................................ 60 seconds  IGMP Query Interval......................... 20 seconds  MLD snooping................................ Disabled  MLD timeout................................. 60 seconds  MLD query interval.......................... 20 seconds  User Idle Timeout........................... 300 seconds  AP Join Priority............................ Disable  ARP Idle Timeout............................ 300 seconds  ARP Unicast Mode............................ Disabled  Cisco AP Default Master..................... Disable  Mgmt Via Wireless Interface................. Disable  Mgmt Via Dynamic Interface.................. Disable  Bridge MAC filter Config.................... Enable  Bridge Security Mode........................ EAP  Over The Air Provisioning of AP's........... Enable  Apple Talk ................................. Disable  Mesh Full Sector DFS........................ Enable  AP Fallback ................................ Disable  Web Auth CMCC Support ...................... Disabled  Web Auth Redirect Ports .................... 80  Web Auth Proxy Redirect ................... Disable  Web Auth Captive-Bypass .................. Disable  Web Auth Secure Web ....................... Enable  Fast SSID Change ........................... Disabled  AP Discovery - NAT IP Only ................. Enabled  IP/MAC Addr Binding Check .................. Enabled  CCX-lite status ............................ Disable  oeap-600 dual-rlan-ports ................... Disable  
8、show loginsession

显示远程登录会话信息 ,包括来源IP 用户 协议等信息

(Cisco Controller) >show loginsession    ID  User Name      Login Type  Connection From                                Idle Time     Session Time  -- --------------- ----------  ---------------------------------------------  ------------  ------------  01 admin            Ssh         172.16.1.126                                   00:00:00      00:11:59  
9、show load-balancing

显示负载均衡状态

> show load-balancing  Aggressive Load Balancing........................ Enabled  Aggressive Load Balancing Window................. 0 clients  Aggressive Load Balancing Denial Count........... 3  Statistics  Total Denied Count............................... 10 clients  Total Denial Sent................................ 20 messages  Exceeded Denial Max Limit Count.................. 0 times  None 5G Candidate Count.......................... 0 times  
10、show inventory

显示硬件信息,包括序列号,对于需要申请故障处理等会用到

11、show dtls connections

要显示数据报传输层安全性(DTLS)服务器状态

Device > show dtls connections  AP Name Local Port Peer IP Peer Port Ciphersuite  --------------- ------------- --------------- ------------- -----------------------  1130 Capwap_Ctrl 1.100.163.210 23678 TLS_RSA _WITH_AES_128_CBC_SHA  1130 Capwap_Data 1.100.163.210 23678 TLS_RSA _WITH_AES_128_CBC_SHA  1240 Capwap_Ctrl 1.100.163.209 59674 TLS_RSA _WITH_AES_128_CBC_SHA  
12、show cpu

显示CPU 信息

13、show client summary

显示客户端摘要信息

14、show boot

显示系统软件启动版本信息

Primary Boot Image............................... 3.2.13.0 (active)  Backup Boot Image................................ 3.2.15.0  
15、show buffers

显示控制器的缓冲区信息

(Cisco Controller) > show buffers  Pool[00]: 16 byte chunks  chunks in pool: 50000  chunks in use: 9196  bytes in use: 147136  bytes requested: 73218 (73918 overhead bytes)  Pool[01]: 64 byte chunks  chunks in pool: 50100  chunks in use: 19222  bytes in use: 1230208  bytes requested: 729199 (501009 overhead bytes)  Pool[02]: 128 byte chunks  chunks in pool: 26200  chunks in use: 9861  bytes in use: 1262208  bytes requested: 848732 (413476