Skip to content

Commit

Permalink
New Template: WLC - show advanced 802.11 channel (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
timjsmith24 authored and jmcgill298 committed Nov 8, 2019
1 parent b94a1a9 commit 7c89e49
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 0 deletions.
52 changes: 52 additions & 0 deletions templates/cisco_wlc_ssh_show_advanced_802.11a_channel.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
Value ASSIGN_MODE (\w+)
Value UPDATE_TIME (\d+ \w+)
Value ANCHOR_TIME (\d+)
Value NOISE (\w+)
Value INTERFER (\w+)
Value LOAD (\w+)
Value DEVICE_AWARE (\w+)
Value CLEANAIR_DRIVEN (\w+)
Value LEADER (\w+)
Value DCA_SENSITIVITY (\w+ \(\d+ dB\))
Value DCA_WIDTH (\d+ \w+)
Value DCA_MIN (-\d+ dBm)
Value List DCA_CHANNELS ((\d+,?)*?)
Value List UNUSED_DCA_CHANNELS ((\d+,?)*?)

Start
^\s*Leader\sAutomatic\sChannel\sAssignments*$$
^\s+Channel\sAssignment\sMode\.*\s${ASSIGN_MODE}s*$$
^\s+Channel\sUpdate\sInterval\.*\s${UPDATE_TIME}s*$$
^\s+Anchor\stime\s\(Hour\sof\sthe day\)\.*\s+${ANCHOR_TIME}\s+s*$$
^\s+Update\sContributions*$$
^\s+Noise\.*\s${NOISE}s*$$
^\s+Interference\.*\s${INTERFER}s*$$
^\s+Load\.*\s${LOAD}s*$$
^\s+Device\sAware\.*\s${DEVICE_AWARE}s*$$
^\s+CleanAir\sEvent-driven\sRRM option\.*\s${CLEANAIR_DRIVEN}s*$$
^\s+Channel\sAssignment\sLeader\.*\s+${LEADER}\s+\(([\d1-9]+\.?){4}\)\s+\(\:\:\)s*$$
^\s+Last\s+Run\.*\s+\d+\s+seconds\s+agos*$$
^\s+Last\s+Run\s+Time\.*\s+\d+\s+secondss*$$
^\s+DCA\sSensitivity\sLevel\:?\s?\.*\s${DCA_SENSITIVITY}s*$$
^\s+DCA\s\S+\sChannel\sWidth\.*\s${DCA_WIDTH}s*$$
^\s+DCA\sMinimum\sEnergy\sLimit\.*\s${DCA_MIN}s*$$
^\s+Channel\sEnergy\sLevels
^\s+Minimum
^\s+Average
^\s+Maximum
^\s+Channel\sDwell\sTimes
^\s+802\.11a\s5\sGHz\sAuto\-RF Channel Lists*$$ -> Channels
^.*Allowed\sChannel\sList
^\s+Unused\sChannel\sList
^\s+\d+,?
^\s+DCA\sOutdoor\sAP\soption
^\s*$$
^. -> Error

Channels
^.*Allowed\sChannel\sList\.*\s${DCA_CHANNELS}s*$$
^\s+${DCA_CHANNELS}s*$$
^\s+Unused Channel List.*\s${UNUSED_DCA_CHANNELS}s*$$
^\s+802.11a\s4.9\sGHz\sAuto-RF Channel Lists*$$ -> Start


1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ cisco_nxos_show_fex.template, .*, cisco_nxos, sh[[ow]] fex
cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc
cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf

cisco_wlc_ssh_show_advanced_802.11a_channel.template, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]]
cisco_wlc_ssh_show_802.11a_cleanair_config.template, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]]
cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]]
cisco_wlc_ssh_show_rf-profile_summary.template, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
parsed_sample:
- anchor_time: '0'
assign_mode: 'OFF'
cleanair_driven: Disabled
dca_channels:
- 36,40,44,48,52,56,60,64,100,
- 104,108,112,116,120,124,128,
- 132,136,140,144,149,153,157,
- '161'
dca_min: -95 dBm
dca_sensitivity: MEDIUM (15 dB)
dca_width: 20 MHz
device_aware: Disable
interfer: Enable
leader: Cisco_lab
load: Disable
noise: Enable
unused_dca_channels:
- '165'
update_time: 600 seconds
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

Leader Automatic Channel Assignment
Channel Assignment Mode........................ OFF
Channel Update Interval........................ 600 seconds
Anchor time (Hour of the day).................. 0
Update Contribution
Noise........................................ Enable
Interference................................. Enable
Load......................................... Disable
Device Aware................................. Disable
CleanAir Event-driven RRM option............... Disabled
Channel Assignment Leader...................... Cisco_lab (192.168.1.11) (::)
Last Run....................................... 448 seconds ago
Last Run Time.................................. 0 seconds
DCA Sensitivity Level.......................... MEDIUM (15 dB)
DCA 802.11n/ac Channel Width................... 20 MHz
DCA Minimum Energy Limit....................... -95 dBm
Channel Energy Levels
Minimum...................................... unknown
Average...................................... unknown
Maximum...................................... unknown
Channel Dwell Times
Minimum...................................... unknown
Average...................................... unknown
Maximum...................................... unknown
802.11a 5 GHz Auto-RF Channel List
Allowed Channel List......................... 36,40,44,48,52,56,60,64,100,
104,108,112,116,120,124,128,
132,136,140,144,149,153,157,
161
Unused Channel List.......................... 165
802.11a 4.9 GHz Auto-RF Channel List
Allowed Channel List.........................
Unused Channel List.......................... 1,2,3,4,5,6,7,8,9,10,11,12,
13,14,15,16,17,18,19,20,21,
22,23,24,25,26
DCA Outdoor AP option.......................... Disabled

0 comments on commit 7c89e49

Please sign in to comment.