Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cisco wlc template #391

Merged
merged 8 commits into from
Oct 10, 2019
Merged

Conversation

hisaza
Copy link
Contributor

@hisaza hisaza commented Mar 20, 2019

ISSUE TYPE
  • New Template Pull Request
COMPONENT

cisco_wlc_ssh_show_client_detail.template, cisco_wlc, show_client_detail

SUMMARY

No change just adding a new template used to parse for wireless troubleshooting

Before:
(Cisco Controller) >show client detail 04:67:f8:63:2a:cfb
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

(Cisco Controller) >


After:
ok: [localhost] => {
    "pre_show_client_detail": {
        "changed": false,
        "failed": false,
        "response": [
            {
                "ap_name": "AP-16",
                "client_state": "Associated",
                "client_username": "N/A",
                "connected_for": "15688",
                "interface": "qa_mobile",
                "ip_address": "10.10.10.110",
                "radio_signal_strength_indicator": "51",
                "signal_to_noise_ratio": "43",
                "vlan": "218",
                "wireless_lan_network_name": "SINGLE",
                "wireless_lan_profile_name": "device"
            }
        ],
        "response_list": []
    }
}


Copy link
Contributor

@jmcgill298 jmcgill298 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmcgill298 jmcgill298 added changes_requested Waiting on user to address feedback enhancement PR Submitted labels Sep 24, 2019
@jmcgill298 jmcgill298 merged commit edb4f41 into networktocode:master Oct 10, 2019
charlesmonson pushed a commit to charlesmonson/ntc-templates that referenced this pull request Oct 11, 2019
charlesmonson pushed a commit to charlesmonson/ntc-templates that referenced this pull request Oct 11, 2019
thomasblass pushed a commit to thomasblass/ntc-templates that referenced this pull request Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes_requested Waiting on user to address feedback enhancement PR Submitted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants