Use the following procedure to enable the RESTCONF server.
Run the show application restconf conflict-ifname command to see if any conflict in interface names exist. To enable RESTCONF, the interface names (VLAN name, MLT name, and Port interface name) must be unique.
Run the show application restconf invalid-name mlt and show application restconf invalid-name vlan commands to see if any MLT or VLAN names contain special characters. To enable RESTCONF, VLAN and MLT names cannot contain special characters other than underscore (_) and en dash (-).
enable
configure terminal
application
restconf enable
Note
If the interface names (VLAN, MLT, and Port) are not unique, or if VLAN or MLT names contain prohibited special characters, an error occurs indicating that you cannot enable RESTCONF. You must change the interface names before you enable RESTCONF.
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CTRL/Z. Switch:1(config)#application Switch:1(config-app)#restconf enable