netconf translation openconfig

Use this command to enable or disable Netconf OpenConfig translation.

Use the no form of this command to Netconf translation.

Command Syntax

Copy
netconf translation openconfig
no netconf translation openconfig

Parameters

openconfig

Translate NetConf to YANG

no

Disable OpenConfig translation

Default

Netconf OpenConfig translation is disabled.

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 6.4. The no form command, clears the translation DB file in OcNOS version 7.0.1

Example

Copy
OcNOS# configure terminal
OcNOS(config)# netconf translation openconfig 
OcNOS(config)# commit

To completely flush and clear stale entries from the OpenConfig translation cache, disable and re-enable translation

Copy
#configure terminal
(config)#no netconf translation
(config)#commit
(config)#netconf translation openconfig
(config)#commit