From 9491dee16e6dc4b8f1cf22006b002d533fb1645d Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Mon, 14 Sep 2020 08:22:25 -0600 Subject: [PATCH] Added advanced for 9800 --- cisco_wifi_ctl.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cisco_wifi_ctl.py b/cisco_wifi_ctl.py index 94dfcc2a..a4045783 100755 --- a/cisco_wifi_ctl.py +++ b/cisco_wifi_ctl.py @@ -524,7 +524,13 @@ def main(): command = "show ap summary" if (args.action == "advanced"): - command = "show advanced 802.11%s summary"%(band) + if args.series == "9800": + if band == "a": + command = "show ap dot11 5ghz summary" + else: + command = "show ap dot11 24ghz summary" + else: + command = "show advanced 802.11%s summary"%(band) if ((args.action == "ap_country") and ((args.value is None) or (args.ap is None))): raise Exception("ap_country requires country and AP name")