Tuesday, July 2, 2019

Cisco IOSXE RESTConf NAT Configuration

Hello r/networking. Hoping someone could help me figure out how to modify NAT configuration through RESTConf.

Generally I just hit the root of the tree: "restconf/data/Cisco-IOS-XE-native:native/" and then follow the path down to the object I want to modify. For example, I use restconf/data/Cisco-IOS-XE-native:native/interface/GigabitEthernet to modify an interface. However, when I look at NAT I see: Cisco-IOS-XE-nat:nat as the top of the NAT tree. And I can't figure out what the correct url path would be to configure that.

If I just try and POST it to the root of Cisco-IOS-XE-native:native, then I get an error: unknown element: nat in /ios:native/ios-nat:nat

Anyone know?



No comments:

Post a Comment