<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Issue configuring multispeed interfaces via NETCONF in Tools</title>
    <link>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5307822#M3709</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Hi all,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I’m running into an issue when trying to configure &lt;STRONG&gt;multispeed interfaces (10/25/50G)&lt;/STRONG&gt; via &lt;STRONG&gt;NETCONF&lt;/STRONG&gt; on Catalyst 9600 (C9600-LC-40YL4CD / IOS-XE 17.12).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Context:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I need to configure interfaces like FiftyGigE2/0/10 or TwentyFiveGigE1/1/1 via NETCONF (e.g., no switchport, mtu, channel-group, etc.).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;These interfaces &lt;STRONG&gt;do not appear in the XML schema&lt;/STRONG&gt; of the device (get-config on /native/interface/... doesn’t return them).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;When I attempt to create or modify them (using either Cisco-IOS-XE-native or ietf-interfaces), I get errors like:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;inconsistent value: Device refused one or more commands
/if:interfaces/interface[name='FiftyGigE2/0/10']/type is not configured&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;In CLI, the exact same configuration works perfectly.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Hypothesis:&lt;/STRONG&gt;&lt;BR /&gt;Could this be because these ports are &lt;STRONG&gt;multigig/multispeed&lt;/STRONG&gt; and require the speed to be fixed in order to instantiate the interface in YANG?&lt;BR /&gt;(I tried forcing speed in CLI and disabling auto-negotiation, but it didn’t change NETCONF behavior.)&lt;BR /&gt;Or is this a &lt;STRONG&gt;known limitation of Cisco-IOS-XE-native YANG models&lt;/STRONG&gt; with multispeed linecards?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Already tried:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Creating the interface via ietf-interfaces with &amp;lt;type&amp;gt;ianaift:ethernetCsmacd&amp;lt;/type&amp;gt; → same error.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Preconfiguring in CLI (speed 25000, no negotiation auto, no shutdown), then using NETCONF → still rejected.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Searched for relevant bugs or caveats (found &lt;STRONG&gt;CSCwk61990&lt;/STRONG&gt; on FiftyGigE not visible via NETCONF but not sure it applies).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;BR /&gt;How can I configure multispeed interfaces via NETCONF?&lt;BR /&gt;Is there a required sequence (e.g., activate ports in CLI first, then use NETCONF)?&lt;BR /&gt;Or is a newer IOS-XE version required for full YANG support?&lt;BR /&gt;Any alternative approaches (different YANG model)?&lt;/P&gt;&lt;P&gt;Thanks in advance for any insights.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jul 2025 12:16:44 GMT</pubDate>
    <dc:creator>julienclaerhout</dc:creator>
    <dc:date>2025-07-10T12:16:44Z</dc:date>
    <item>
      <title>Issue configuring multispeed interfaces via NETCONF</title>
      <link>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5307822#M3709</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi all,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I’m running into an issue when trying to configure &lt;STRONG&gt;multispeed interfaces (10/25/50G)&lt;/STRONG&gt; via &lt;STRONG&gt;NETCONF&lt;/STRONG&gt; on Catalyst 9600 (C9600-LC-40YL4CD / IOS-XE 17.12).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Context:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;I need to configure interfaces like FiftyGigE2/0/10 or TwentyFiveGigE1/1/1 via NETCONF (e.g., no switchport, mtu, channel-group, etc.).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;These interfaces &lt;STRONG&gt;do not appear in the XML schema&lt;/STRONG&gt; of the device (get-config on /native/interface/... doesn’t return them).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;When I attempt to create or modify them (using either Cisco-IOS-XE-native or ietf-interfaces), I get errors like:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;inconsistent value: Device refused one or more commands
/if:interfaces/interface[name='FiftyGigE2/0/10']/type is not configured&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;In CLI, the exact same configuration works perfectly.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Hypothesis:&lt;/STRONG&gt;&lt;BR /&gt;Could this be because these ports are &lt;STRONG&gt;multigig/multispeed&lt;/STRONG&gt; and require the speed to be fixed in order to instantiate the interface in YANG?&lt;BR /&gt;(I tried forcing speed in CLI and disabling auto-negotiation, but it didn’t change NETCONF behavior.)&lt;BR /&gt;Or is this a &lt;STRONG&gt;known limitation of Cisco-IOS-XE-native YANG models&lt;/STRONG&gt; with multispeed linecards?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Already tried:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Creating the interface via ietf-interfaces with &amp;lt;type&amp;gt;ianaift:ethernetCsmacd&amp;lt;/type&amp;gt; → same error.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Preconfiguring in CLI (speed 25000, no negotiation auto, no shutdown), then using NETCONF → still rejected.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Searched for relevant bugs or caveats (found &lt;STRONG&gt;CSCwk61990&lt;/STRONG&gt; on FiftyGigE not visible via NETCONF but not sure it applies).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;BR /&gt;How can I configure multispeed interfaces via NETCONF?&lt;BR /&gt;Is there a required sequence (e.g., activate ports in CLI first, then use NETCONF)?&lt;BR /&gt;Or is a newer IOS-XE version required for full YANG support?&lt;BR /&gt;Any alternative approaches (different YANG model)?&lt;/P&gt;&lt;P&gt;Thanks in advance for any insights.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 12:16:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5307822#M3709</guid>
      <dc:creator>julienclaerhout</dc:creator>
      <dc:date>2025-07-10T12:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue configuring multispeed interfaces via NETCONF</title>
      <link>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5307824#M3710</link>
      <description>&lt;P&gt;Digging into very grey matter in my mind here, but think this is a&amp;nbsp;limitation in XE, as (and i am happy to be wrong here) the get-config does not pull these back because they are considered "virtual" or&amp;nbsp;"dormant" state until they're explicitly configured with a specific speed. The YANG models can't see or manipulate interfaces that haven't been "instantiated" with a fixed speed configuration.&lt;/P&gt;
&lt;P&gt;I think (guess here) and read this was better in later versions of XE. In the mean time, you could&amp;nbsp;use CLI for initial speed configuration, then NETCONF after?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 12:26:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5307824#M3710</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-07-10T12:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue configuring multispeed interfaces via NETCONF</title>
      <link>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5307855#M3711</link>
      <description>&lt;P&gt;I went ahead and tried your suggestion: I fixed the speed on one of the multispeed interfaces via CLI (speed 25000,&amp;nbsp;speed nonegotiate, no shutdown).&lt;/P&gt;&lt;P&gt;Unfortunately:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The interface still does &lt;STRONG&gt;not appear in the YANG model&lt;/STRONG&gt; when doing a get-config.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Attempts to configure it via NETCONF still return same errors&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So even after instantiating the interface with a fixed speed, NETCONF does not seem to have visibility or write access to it.&lt;/P&gt;&lt;P&gt;This makes me wonder:&lt;BR /&gt;-&amp;gt;&amp;nbsp; Are these multispeed interfaces simply &lt;STRONG&gt;not configurable via NETCONF at all&lt;/STRONG&gt; on IOS-XE 17.12 (even after being initialized)?&lt;BR /&gt;-&amp;gt;&amp;nbsp; Or is there a workaround (other than falling back to CLI for those ports)?&lt;/P&gt;&lt;P&gt;I’d really prefer to avoid mixing CLI and NETCONF in my playbooks if possible.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 13:48:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5307855#M3711</guid>
      <dc:creator>julienclaerhout</dc:creator>
      <dc:date>2025-07-10T13:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue configuring multispeed interfaces via NETCONF</title>
      <link>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5307877#M3712</link>
      <description>&lt;P&gt;Thanks for testing this, i would agree this appears to be a platform limitation and hopefully if you upgradee addressed in later release/version.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 14:51:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5307877#M3712</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-07-10T14:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue configuring multispeed interfaces via NETCONF</title>
      <link>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5312418#M3722</link>
      <description>&lt;P&gt;First, I did not test it in XE but for OpenConfig in XR I tried the following NSO template:&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P class="p1"&gt;&amp;lt;config-template xmlns="&lt;A href="http://tail-f.com/ns/config/1.0" target="_blank"&gt;http://tail-f.com/ns/config/1.0&lt;/A&gt;"&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;?set MTU={/mtu}?&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;devices xmlns="&lt;A href="http://tail-f.com/ns/ncs" target="_blank"&gt;http://tail-f.com/ns/ncs&lt;/A&gt;"&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;?foreach {/device}?&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;device&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;name&amp;gt;{./name}&amp;lt;/name&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;config&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;interfaces xmlns="&lt;A href="http://openconfig.net/yang/interfaces" target="_blank"&gt;http://openconfig.net/yang/interfaces&lt;/A&gt;"&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;?foreach {interfaces}?&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;interface&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;name&amp;gt;{type}{name}&amp;lt;/name&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;config&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type"&amp;gt;ianaift:ethernetCsmacd&amp;lt;/type&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;mtu&amp;gt;{$MTU}&amp;lt;/mtu&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/config&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;hold-time&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;config&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;up&amp;gt;10&amp;lt;/up&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/config&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/hold-time&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/interface&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;?end?&amp;gt;&amp;lt;!--foreach {interfaces}--&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/interfaces&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/config&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;/device&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&amp;lt;?end?&amp;gt;&amp;lt;!--foreach {device}--&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/devices&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;lt;/config-template&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;```&lt;/P&gt;
&lt;P class="p1"&gt;So, from my experience and looking at the YANG model, the "type" leaf is mandatory but you need to add the correct namespace as it uses a IANA model definition:&amp;nbsp;&amp;lt;type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type"&amp;gt;ianaift:ethernetCsmacd&amp;lt;/type&amp;gt;&lt;/P&gt;
&lt;P class="p1"&gt;Maybe try this encoding for the type.&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 14:46:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/issue-configuring-multispeed-interfaces-via-netconf/m-p/5312418#M3722</guid>
      <dc:creator>rogaglia</dc:creator>
      <dc:date>2025-07-22T14:46:24Z</dc:date>
    </item>
  </channel>
</rss>

