Skip to content

Commit

Permalink
New Template: Cisco WLC - show client detail (networktocode#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
hisaza authored and charlesmonson committed Oct 11, 2019
1 parent bde4320 commit 44a8f38
Show file tree
Hide file tree
Showing 4 changed files with 254 additions and 0 deletions.
41 changes: 41 additions & 0 deletions templates/cisco_wlc_ssh_show_client_detail.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Value CLIENT_USERNAME (.+?)
Value AP_NAME (.+?)
Value CLIENT_STATE (\S+)
Value WIRELESS_LAN_NETWORK_NAME (.+?)
Value WIRELESS_LAN_PROFILE_NAME (.+?)
Value CONNECTED_FOR (\d+)
Value CONNECTED_FOR_MEASUREMENT (\S+)
Value IP_ADDRESS (\d.*)
Value INTERFACE (.*)
Value RADIO_SIGNAL_STRENGTH_INDICATOR (\S+)
Value SIGNAL_TO_NOISE_RATIO (\d+)
Value VLAN (.*)


Start
^Client\s+Username\s*\.+\s*${CLIENT_USERNAME}\s*$$
^AP\s+Name\s*\.+\s*${AP_NAME}\s*$$
^Client\s+State\s*\.+\s*${CLIENT_STATE}\s*$$
^Wireless\s+LAN\s+Network\s+Name\s+\(\S+?\)\s*\.+\s*${WIRELESS_LAN_NETWORK_NAME}\s*$$
^Wireless\s+LAN\s+Profile\s+Name\s*\.+\s*${WIRELESS_LAN_PROFILE_NAME}\s*$$
^Connected\s+For\s*\.+\s*${CONNECTED_FOR}\s+${CONNECTED_FOR_MEASUREMENT}\s*$$
^IP\s+Address\s*\.+\s*${IP_ADDRESS}\s*$$
^\s+Radio\s+Signal\s+Strength\s+Indicator\s*\.+\s*${RADIO_SIGNAL_STRENGTH_INDICATOR}\s+dBm\s*$$
^Interface\s*\.+\s*${INTERFACE}\s*$$
^\s+Signal\s+to\s+Noise\s+Ratio\s*\.+\s*${SIGNAL_TO_NOISE_RATIO}\s+dB\s*$$
^VLAN\s*\.+\s*${VLAN}\s*$$
^.+\.+
^\s+AP.+\(.+\)
^Client\s+Capabilities:
^Client\s+Wifi\s+Direct Capabilities:
^Fast\s+BSS\s+Transition\s+Details:
^Client\s+Statistics:
^Client\s+Rate\s+Limiting\s+Statistics:
^Nearby\s+AP\s+Statistics:
^DNS\s+Server\s+details:
^Assisted\s+Roaming\s+Prediction\s+List\s+details:
^\s*Client\s+Dhcp\s+Required:
^Allowed\s+\(URL\)IP\s+Addresses
^-+
^\s*$$
^. -> Error
1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf

cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]]
cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]]
cisco_wlc_ssh_show_client_detail.template, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]]
cisco_wlc_ssh_show_exclusionlist.template, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]]
cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]]
cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
parsed_sample:
- client_username: "N/A"
ap_name: "APf-16"
client_state: "Associated"
wireless_lan_network_name: "SINGLE"
wireless_lan_profile_name: "device"
connected_for: "15688"
connected_for_measurement: "secs"
ip_address: "10.10.10.110"
interface: "qa_mobile"
radio_signal_strength_indicator: "-51"
signal_to_noise_ratio: "43"
vlan: "218"
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
Client MAC Address...............................04:67:f8:63:2a:cfb
Client Username ................................. N/A
AP MAC Address................................... 10:e0:1d:f0:86:91
AP Name.......................................... APf-16
AP radio slot Id................................. 1
Client State..................................... Associated
Client User Group................................
Client NAC OOB State............................. Access
Wireless LAN Id.................................. 4
Wireless LAN Network Name (SSID)................. SINGLE
Wireless LAN Profile Name........................ device
Hotspot (802.11u)................................ Not Supported
BSSID............................................ 80:e0:1d:f0:88:9a
Connected For ................................... 15688 secs
Channel.......................................... 157
IP Address....................................... 10.10.10.110
Gateway Address.................................. Unknown
Netmask.......................................... Unknown
Association Id................................... 14
Authentication Algorithm......................... Open System
Reason Code...................................... 1
Status Code...................................... 0
Session Timeout.................................. 28800
Client CCX version............................... No CCX support
QoS Level........................................ Silver
Avg data Rate.................................... 0
Burst data Rate.................................. 0
Avg Real time data Rate.......................... 0
Burst Real Time data Rate........................ 0
802.1P Priority Tag.............................. disabled
CTS Security Group Tag........................... Not Applicable
KTS CAC Capability............................... No
Qos Map Capability............................... No
WMM Support...................................... Enabled
APSD ACs....................................... BK BE VI VO
Current Rate..................................... m8 ss2
Supported Rates.................................. 18.0,24.0,36.0,48.0,54.0
Mobility State................................... Local
Mobility Move Count.............................. 0
Security Policy Completed........................ Yes
Policy Manager State............................. RUN
Audit Session ID................................. 05964b0a0014fc2acc4c7e5c
AAA Role Type.................................... none
Local Policy Applied............................. none
IPv4 ACL Name.................................... none
FlexConnect ACL Applied Status................... Unavailable
IPv4 ACL Applied Status.......................... Unavailable
IPv6 ACL Name.................................... none
IPv6 ACL Applied Status.......................... Unavailable
Layer2 ACL Name.................................. none
Layer2 ACL Applied Status........................ Unavailable
Client Type...................................... SimpleIP
mDNS Status...................................... Enabled
mDNS Profile Name................................ default-mdns-profile
No. of mDNS Services Advertised.................. 0
Policy Type...................................... WPA2
Authentication Key Management.................... PSK
Encryption Cipher................................ CCMP (AES)
Protected Management Frame ...................... No
Management Frame Protection...................... No
EAP Type......................................... Unknown
Interface........................................ qa_mobile
VLAN............................................. 218
Quarantine VLAN.................................. 0
Access VLAN...................................... 218
Local Bridging VLAN.............................. 218
Client Capabilities:
CF Pollable................................ Not implemented
CF Poll Request............................ Not implemented
Short Preamble............................. Not implemented
PBCC....................................... Not implemented
Channel Agility............................ Not implemented
Listen Interval............................ 20
Fast BSS Transition........................ Not implemented
11v BSS Transition......................... Not implemented
Client Wifi Direct Capabilities:
WFD capable................................ No
Manged WFD capable......................... No
Cross Connection Capable................... No
Support Concurrent Operation............... No
Fast BSS Transition Details:
Client Statistics:
Number of Bytes Received................... 78808
Number of Bytes Sent....................... 585125
Total Number of Bytes Sent................. 585125
Total Number of Bytes Recv................. 78808
Number of Bytes Sent (last 90s)............ 64
Number of Bytes Recv (last 90s)............ 292
Number of Packets Received................. 761
Number of Packets Sent..................... 763
Number of Interim-Update Sent.............. 0
Number of EAP Id Request Msg Timeouts...... 0
Number of EAP Id Request Msg Failures...... 0
Number of EAP Request Msg Timeouts......... 0
Number of EAP Request Msg Failures......... 0
Number of EAP Key Msg Timeouts............. 0
Number of EAP Key Msg Failures............. 0
Number of Data Retries..................... 317
Number of RTS Retries...................... 0
Number of Duplicate Received Packets....... 4
Number of Decrypt Failed Packets........... 0
Number of Mic Failured Packets............. 0
Number of Mic Missing Packets.............. 0
Number of RA Packets Dropped............... 0
Number of Policy Errors.................... 0
Radio Signal Strength Indicator............ -51 dBm
Signal to Noise Ratio...................... 43 dB
Client Rate Limiting Statistics:
Number of Data Packets Received............ 0
Number of Data Rx Packets Dropped.......... 0
Number of Data Bytes Received.............. 0
Number of Data Rx Bytes Dropped............ 0
Number of Realtime Packets Received........ 0
Number of Realtime Rx Packets Dropped...... 0
Number of Realtime Bytes Received.......... 0
Number of Realtime Rx Bytes Dropped........ 0
Number of Data Packets Sent................ 0
Number of Data Tx Packets Dropped.......... 0
Number of Data Bytes Sent.................. 0
Number of Data Tx Bytes Dropped............ 0
Number of Realtime Packets Sent............ 0
Number of Realtime Tx Packets Dropped...... 0
Number of Realtime Bytes Sent.............. 0
Number of Realtime Tx Bytes Dropped........ 0
Nearby AP Statistics:
AP2F-29(slot 0)
antenna0: 6 secs ago..................... -72 dBm
antenna1: 6 secs ago..................... -75 dBm
AP2F-29(slot 1)
antenna0: 5 secs ago..................... -77 dBm
antenna1: 5 secs ago..................... -80 dBm
AP2F-23(slot 0)
antenna0: 5 secs ago..................... -86 dBm
antenna1: 5 secs ago..................... -87 dBm
AP2F-23(slot 1)
antenna0: 6 secs ago..................... -90 dBm
antenna1: 6 secs ago..................... -91 dBm
AP3f-10(slot 1)
antenna0: 3 secs ago..................... -78 dBm
antenna1: 3 secs ago..................... -79 dBm
AP3f-11(slot 1)
antenna0: 5 secs ago..................... -78 dBm
antenna1: 5 secs ago..................... -82 dBm
AP3f-17(slot 0)
antenna0: 6 secs ago..................... -57 dBm
antenna1: 6 secs ago..................... -60 dBm
AP3f-17(slot 1)
antenna0: 6 secs ago..................... -60 dBm
antenna1: 6 secs ago..................... -57 dBm
AP2F-27(slot 1)
antenna0: 6 secs ago..................... -83 dBm
antenna1: 6 secs ago..................... -80 dBm
AP3f-13(slot 0)
antenna0: 6 secs ago..................... -72 dBm
antenna1: 6 secs ago..................... -76 dBm
AP3f-13(slot 1)
antenna0: 6 secs ago..................... -74 dBm
antenna1: 6 secs ago..................... -70 dBm
AP3f-12(slot 0)
antenna0: 5 secs ago..................... -79 dBm
antenna1: 5 secs ago..................... -79 dBm
AP3f-12(slot 1)
antenna0: 6 secs ago..................... -74 dBm
antenna1: 6 secs ago..................... -75 dBm
AP2F-28(slot 0)
antenna0: 5 secs ago..................... -86 dBm
antenna1: 5 secs ago..................... -87 dBm
AP2F-28(slot 1)
antenna0: 5 secs ago..................... -88 dBm
antenna1: 5 secs ago..................... -82 dBm
AP2F-25(slot 1)
antenna0: 6 secs ago..................... -87 dBm
antenna1: 6 secs ago..................... -88 dBm
AP3f-15(slot 0)
antenna0: 6 secs ago..................... -74 dBm
antenna1: 6 secs ago..................... -71 dBm
AP3f-15(slot 1)
antenna0: 6 secs ago..................... -77 dBm
antenna1: 6 secs ago..................... -69 dBm
AP3f-14(slot 1)
antenna0: 6 secs ago..................... -73 dBm
antenna1: 6 secs ago..................... -71 dBm
AP3f-16(slot 0)
antenna0: 6 secs ago..................... -67 dBm
antenna1: 6 secs ago..................... -65 dBm
AP3f-16(slot 1)
antenna0: 6 secs ago..................... -51 dBm
antenna1: 6 secs ago..................... -57 dBm
DNS Server details:
DNS server IP ............................. 0.0.0.0
DNS server IP ............................. 0.0.0.0
Assisted Roaming Prediction List details:


Client Dhcp Required: False
Allowed (URL)IP Addresses
-------------------------

AVC Profile Name: ............................... Internal Wireless AVC

0 comments on commit 44a8f38

Please sign in to comment.