Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Re: NCM config change template reboot at... ${CR}

$
0
0

/*
.CHANGE_TEMPLATE_DESCRIPTION
        reboot at

.CHANGE_TEMPLATE_TAGS
        Cisco, IOS
.PLATFORM_DESCRIPTION
        Cisco IOS

.PARAMETER_LABEL @ContextNode
        NCM Node
.PARAMETER_DESCRIPTION @ContextNode
        which system

.PARAMETER_LABEL @REBOOT_DAY
        Reboot day
.PARAMETER_DESCRIPTION @REBOOT_DAY
        Tag (Datum) an dem der Reboot erfolgen soll (Format: nn)
.PARAMETER_LABEL @REBOOT_MONTH
        Reboot month
.PARAMETER_DESCRIPTION @REBOOT_MONTH
        Monat an dem der Reboot erfolgen soll (Format: Monat, englisch)
.PARAMETER_LABEL @REBOOT_TIME
        reboot time
.PARAMETER_DESCRIPTION @REBOOT_TIME
        Uhrzeit an dem der Reboot erfolgen soll (Format: hh:nn)      
*/

 

script RebootAtCiscoIOS (   
                                          NCM.Nodes @ContextNode,
                                          string @REBOOT_DAY,
                                          string @REBOOT_MONTH,
                                          string @REBOOT_TIME
                                        )
{
  CLI
  {
   write memory
   reload at @REBOOT_TIME @REBOOT_DAY @REBOOT_MONTH new IOS Image by NCM ${CRLF}
  }
}


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>