Skip to content

Cisco-IOS-XE-native.yang produces incomplete vlan information when using list and add list #1461

Closed

Description

@rhasti

Environment Cisco IOS XE Software, Version 17.06.03
using restconf with 'application/yang-data+json' calling Cisco-IOS-XE-native:native/interface

Config Snippet

interface GigabitEthernet1/0/34
description ESXI - VM-LAN - esxi-trz-10 - lan2/vmnic1
switchport trunk allowed vlan 11,12,14,15,22,23,101,168,169,171-173,175
switchport trunk allowed vlan add 300-302,666,2010-2012
switchport mode trunk
mtu 9198
spanning-tree portfast
spanning-tree guard root
hold-queue 4000 out
end

is producing following output

{'name': 'GigabitEthernetGigabitEthernet1/0/34',
 'description': 'ESXI - VM-LAN - esxi-trz-10 - lan2/vmnic1',
 'switchport-config': {'switchport': {'Cisco-IOS-XE-switch:mode': {'trunk': {}},
   'Cisco-IOS-XE-switch:trunk': {'allowed': {'vlan': {'add': '300-302,666,2010-2012'}}}}},
 'hold-queue': [{'direction': 'out', 'queue-length': 4000}],
 'mtu': 9198,
 'Cisco-IOS-XE-spanning-tree:spanning-tree': {'guard': 'root', 'portfast': {}}}

which is missing vlans 11,12,14,15,22,23,101,168,169,171-173,175

Activity

  1. changed the title [-]native:interfaces produces incomplete vlan information when using list and add list[/-] [+]Cisco-IOS-XE-native.yang produces incomplete vlan information when using list and add list[/+] on Aug 4, 2023
  2. einarnn commented on Nov 4, 2023

    @einarnn
    Member

    @rhasti, please raise this issue with Cisco TAC. Raising issues here does not typically reach vendors.

  3. gtontini-vem commented on Sep 28, 2026

    @gtontini-vem

    Did they solve this?

  4. einarnn commented on Oct 5, 2026

    @einarnn
    Member

    Unknown. If you are able to test, please update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions