11-14-2024 06:16 AM
Hello, I'm attempting to execute my first interactive command but it's consistently failing. I've tried various approaches, but I'm still stuck. Any advice would be greatly appreciated.
#INTERACTIVE
authentication convert-to new-style <IQ> Do you wish to continue? [yes]: <R>y
#END_INTERACTIVE
Manually adding the config statement:
Labswitch12345(config)#authentication convert-to new-style
This operation will permanently convert all relevant authentication commands to their CPL control-policy equivalents. As this conversion is irreversible and will disable the conversion CLI 'authentication display [legacy|new-style]', you are strongly advised to back up your current configuration before proceeding.
Do you wish to continue? [yes]: no
Failure Message:
Message: Unable to push the invalid CLI to the device 10.x.x.x using protocol telnet. Invalid CLI - Current output : This operation will permanently convert all relevant authentication commands to their CPL control-policy equivalents. As this conversion is irreversible and will disable the conversion CLI 'authentication display [legacy|new-style]', you are strongly advised to back up your current configuration before proceeding. Do you wish to continue? [yes]: Current expects : Labswitch1.{0,30}([^)]+)#s*z (Config Prompt) Labswitch12345#s*z (Prompt) Do you wish to continue? [yes]: (Interactive)
I
Solved! Go to Solution.
11-14-2024 07:07 AM
I think it might not be matching the prompt for verification correctly. Can you try this instead?
authentication convert-to new-style<IQ>yes<R>no
11-14-2024 07:07 AM
I think it might not be matching the prompt for verification correctly. Can you try this instead?
authentication convert-to new-style<IQ>yes<R>no
11-15-2024 08:05 AM
Thank you. It worked. Appreciate your assistance.
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