03-19-2024 06:58 AM
I need help
Anyone present with experience in using restconf to modify the configuration on dial-peers in a CUBE (Cat8000V version 17.10.1a).
More specific I need to apply shutdown to a dial-peer using a restconf call.
03-19-2024 07:32 AM
Hi, can you post the dial-peer config in IOS CLI?
As soon as I know the CLI commands, I can post the corresponding RESTCONF call.
03-21-2024 02:23 AM
dial-peer voice <tag>
shutdown
or
no shutdown
03-19-2024 12:33 PM
I'll configured it via CLI and tried to initially read the config. I'll get an empty data element with NETCONF and no data with RESTCONF, will look in closer tomorrow.
03-21-2024 01:43 AM
That mimics my experience ;-(
03-21-2024 01:58 AM - edited 03-21-2024 01:59 AM
I had similiar issues in the past, it seems like depending on the release certain parts of the YANG models just don't work (like it's documented but not correctly implemented). So my best advise is to try another (newer) release.
03-21-2024 02:27 AM
I have been trying on 17.13.1a, with even less success.
TAC is involved, as even basic GET for config fails.
My thought is trying to use the "cli-rpc" to just send the needed commands.
Any thought (or examples) on this approach?
03-21-2024 02:32 AM
I never used cli-rpc. If I run into such issues I switch to nornir with the netmiko-plugin - I try to avoid CLI frameworks whenever possible, but sometimes it's the only thing working.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide