07-21-2020 12:11 AM - edited 07-05-2021 12:18 PM
Hi,
I'm playing around with C9800-CL and Yang Explorer. While trying to create a wlan profile, I received the error "expected tag: 'profile-name', got tag: 'wlan-id'".
When I leave the wlan-id out, I got an error "/wlan-cfg-data/wlan-cfg-entries/wlan-cfg-entry[profile-name='WP_SSID1']/wlan-id is not configured". Can somebody please explain to an old cli guy, what's the issue here?
07-21-2020 03:27 AM
- This looks like a software compatibility issue. Check if you can find any info's on that.
M.
07-21-2020 05:52 AM
Taking a look to the cli output of Yang-Explorer, I see indeed that wlan-id is sent before profile name:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101"> <edit-config> <target> <running/> </target> <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> <wlan-cfg-data xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-wireless-wlan-cfg"> <wlan-cfg-entries> <wlan-cfg-entry xc:operation="create"> <wlan-id>1</wlan-id> <profile-name>WP_MySSID1</profile-name> <apf-vap-id-data> <ssid>MySSID1</ssid> </apf-vap-id-data> </wlan-cfg-entry> </wlan-cfg-entries> </wlan-cfg-data> </config> </edit-config> </rpc>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide