cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
500
Views
0
Helpful
2
Replies

Cisco 9800 get channel utilization via netconf

Hello everyone.

Im looking at a way to get the channel utilisation of APs from thier WLC via NETCONF.

The way to get it from the CLI is via "show ap auto-rf dot11 24ghz", example output : 

https://www.cisco.com/c/en/us/td/docs/wireless/controller/7-4/command/reference/consolidated/b_cr74_CONSOLIDATED/cr74_chapter_01010.html#ariaid-title14

 

I've searched in pretty much every Yang model I could think of that can relate to that topic.

Does anyone has a way of doing that via netconf ?

2 Replies 2

Hello,

I am thinking of something like the NETCONF script below:

<rpc message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get>
<filter type="subtree">
<oper-data xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-wireless-ap-oper">
<access-points>
<access-point>
<!-- Specify the AP ID or name -->
<ap-name>AP1</ap-name>
<radios>
<radio>
<!-- Specify the radio interface (e.g., 24 GHz) -->
<band>2.4GHz</band>
<!-- Retrieve channel utilization information -->
<channel-utilization/>
</radio>
</radios>
</access-point>
</access-points>
</oper-data>
</filter>
</get>
</rpc>

Hi, thank for your answer

I tried your xml (edited with my ap name) but I got a rpc-error back :

<rpc-error xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
<error-type>protocol</error-type>
<error-tag>unknown-element</error-tag>
<error-severity>error</error-severity>
<error-path>
/rpc
</error-path><error-info><bad-element>rpc</bad-element>
</error-info>
</rpc-error>

It seems like you used the "Cisco-IOS-XE-wireless-ap-oper" yang module but I cannont find it online or in the YangModel/yang github repo. And it doesnt appear in my device capabilities (https://pastebin.com/vB5giFTi). Os Version : 17.06.05

 

Review Cisco Networking for a $25 gift card