Skip to content

Cisco NX-OS: YANG configuration is not persisted in version <10.6(3) when mixed with feature activation #148

@felix-kaestner

Description

@felix-kaestner

Problem

As confirmed by Cisco, NX-OS prior to version 10.6(3) has an issue that deals with the internal candidate DB used with gNMI when mixing feature and dependent configurations. As a result, when feature activation and dependent configuration is mixed within the same gNMI request, the configuration is not persisted to the internal config DB despite being persisted in YANG. When an operator queries YANG for the configuration, it is returned with the expected values despite not showing up e.g. in a show running-config.

Proposed Solution

As suggested also by Cisco, this bug can be avoided by performing two RPC transactions. E.g.

Features Config

gnmic -a 10.15.33.42:50051 -u admin -p <pass> --skip-verify set --update-path 'System/fm-items/bgp-items' --update-value '{"adminSt":"enabled"}' --update-path 'System/fm-items/nvo-items' --update-value '{"adminSt":"enabled"}' --update-path 'System/fm-items/evpn-items' --update-value '{"adminSt":"enabled"}' 

Dependent Config

gnmic -a 10.15.33.42:50051 -u admin -p <pass> --skip-verify set --update-path 'System/eps-items/epId-items/Ep-list[epId=1]' --update-value '{"adminSt":"enabled","epId":1,"hostReach":"bgp","sourceInterface":"lo1"}

Tasks

  • Implement workaround for versions prior to 10.6(3)
  • Verify that the issue is fixed in 10.6(3) – currently (as of Jan 2026) in internal QA

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/switch-automationAutomation processes for network switch management and operations.firmware-bugAn issue that is caused by a firmware malfunction.platform/nxEverything related to Cisco NX-OSvendor/ciscoEverything related to the Cisco that uses GNMI/GNOI.

    Type

    No fields configured for Bug.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions