Interactive commands in Netconfig

Unanswered Question
Dec 30th, 2007
User Badges:

I wish to apply the interactive commands like " clear counters" and "banner motd" which will ask for the user intervention using Netconfig.


Is there any way this can be done?


with thanks

sathappan

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Joe Clarke Sun, 12/30/2007 - 10:07
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Yes. The online help for Netconfig details how to deploy interactive commands. Basically, you use the tag to follow the command and indicate the response. For example:


clear countersyes


Note: banner motd is not an interactive command. It is is a multiline command. There is a built-in template for banners which you should use. However, if you need to create a custom template, you can still deploy banners. See this thread for more details:


http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Network%20Infrastructure&topic=Network%20Management&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.2cbeeba9

Actions

This Discussion