Gigamon-1.3.6.1.4.1.26866

<!--  If this device has a config larger than 999 lines, then the use of the MORE command might be needed -->

<!--  However I wouldn't recommend using the more command unless necessary  -->

<!--   <Command Name="MORE" Value="lines"/>   -->

<Configuration-Management Device="Gigamon" SystemOID=" 1.3.6.1.4.1.26866">

    <Commands>

        <Command Name="RESET" Value="terminal length 999"/>

        <Command Name="Reboot" Value="reload${CRLF}y${CRLF}y"/>

        <Command Name="EnterConfigMode" Value="configure terminal"/>

        <Command Name="ExitConfigMode" Value="end"/>

        <Command Name="Startup" Value="startup"/>

        <Command Name="Running" Value="run"/>

        <Command Name="DownloadConfig" Value="show ${ConfigType}"/>

        <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>

        <Command Name="Version" Value="show version"/>

       

    </Commands>

</Configuration-Management>

  • You can get around the 999 line config length limit by disabling paging entirely:

    <Command Name="RESET" Value="no cli session paging enable"/>

  • we found that with NCM 7.3.2 (and possibly could affect other versions) that the config was not being received well or parsed well - and thus the NCM download of running config was failing with an error "connection refused" (which was false)

    our config command template now looks like this.  Our gigamon devices have a hostname starting with "s" , so we had to do the ignoreSequences value of "s"

    <!--  If this device has a config larger than 999 lines, then the use of the MORE command might be needed -->
    <!--  However I wouldn't recommend using the more command unless necessary  -->
    <!--   <Command Name="MORE" Value="lines"/>   -->


    <Configuration-Management Device="Gigamon" SystemOID=" 1.3.6.1.4.1.26866">
    <Commands>
      <Command Name="RESET" Value="terminal length 999"/>
      <Command Name="Reboot" Value="reload${CRLF}y${CRLF}y"/>
      <Command Name="PromptignoreSequences" Value="s"/>
       <Command Name="Startup" Value="startup"/>
      <Command Name="Running" Value="running-config"/>
      <Command Name="DownloadConfig" Value="show ${ConfigType}"/>
      <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
      <Command Name="Version" Value="show version"/>
    </Commands>
    </Configuration-Management>

  • thanks for posting this - worked like a charm!