cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
456
Views
0
Helpful
2
Replies

Cat Center Question using Interactive Commands

econstas
Level 1
Level 1

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  

1 Accepted Solution

Accepted Solutions

Torbjørn
VIP
VIP

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

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

View solution in original post

2 Replies 2

Torbjørn
VIP
VIP

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

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

econstas
Level 1
Level 1

Thank you. It worked. Appreciate your assistance. 

Review Cisco Networking for a $25 gift card