Cannot remember the command to stop the CLI prompting Y/|N

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
If you want to copy blocks of config with say for eample EAPS statements I want to stop the box asking me,
Do you really want to add these ports? (y/N) No
there's a way of doing this but I cannot remember
Photo of simon bingham

simon bingham

  • 1,206 Points 1k badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Drew C.

Drew C., Community Manager

  • 39,442 Points 20k badge 2x thumb
Official Response
Hi Simon,
I believe the command you're looking for is
X440-8p.1 # disable cli prompting
  prompting       If disabled, all CLI user prompts automatically continue with the default answer. Default is prompting enabled.
Photo of Chad Smith

Chad Smith, Alum

  • 5,640 Points 5k badge 2x thumb
Official Response
Simon,

Specifically for EAPS there is also the following command:

X430-8p.1 # conf eaps config-warnings   
  off             config-warnings disabled
  on              config-warnings enabled