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

C9800 and Yang Explorer

Tobias Heisele
Level 1
Level 1

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?

2 Replies 2

marce1000
VIP
VIP

 

 - This looks like a software compatibility issue. Check if you can find any info's on that.

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

Tobias Heisele
Level 1
Level 1

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>
Review Cisco Networking products for a $25 gift card