Network Management through SNMP

Software Image Download using NetSight

The NetSight Remote Administrator application can download an image to the XSR using TFTP. The software image download is initiated through NetSight using an SNMP set command, which triggers a TFTP download session initiated from the XSR.

Note: The XSR does not support an off-line download triggered by SNMP. That is, when you use NetSight to download an image, a dialog box will pop up with a check box titled Online download. If the box is unchecked, the SNMP request will fail. See NetSight documentation for more information.

SNMP Download with Auto-Reboot Option

To use this option, you must first enter the following command in Global mode to allow a user to reboot the XSR using SNMP:

XSR(config)#snmp-server system-shutdown

When you employ NetSight to download an image, a dialog box will pop up with a check box titled Auto reboot. If the box is checked, the XSR will be rebooted remotely after the download ends. If the snmp-serversystem-shutdowncommand were not entered and the remote user chose the auto reboot option, the request would fail.

CLI Translator

The XSR provides a CLI Translator as a stand-alone CLI configuration application or a NetSight plug-in application to translate a CLI script configuration file, which can be downloaded to the XSR through TFTP.

Appending CLI Commands to Configuration Files via SNMP

The XSR permits appending a file containing CLI commands to your configuration by using SNMP. This is done by the ConfigurationAppend command in the Configuration Management MIB executing CLI commands. In detail, it is performed as follows:

Using TFTP, the file is copied to the XSR’s Flash: directory using a temporary file name. If an error occurs while transferring the file, an error message will be sent to the SNMP agent and displayed in the etsConfigMgmtChangeErrorDescription field.

Once the file has successfully transferred, the ConfigurationAppend command acquires Global mode and begins reading the CLI commands from the file. If Global mode is locked by another user then an error will be displayed in the etsConfigMgmtChangeErrorDescription field and the temporary file deleted.

When all command lines have been executed the SNMP agent is informed that the command was successful. If an error occured in the file, you are informed through the SNMP agent.

The running configuration is saved to the startup configuration on the CLI.

The SNMP user is informed that the command was successful and the temporary file name is then deleted.

Follow the steps below to perform the append:

Note: Before starting this procedure, make sure that a TFTP server program is running on your PC.

2-44 Managing the XSR

Page 80
Image 80
Enterasys Networks X-PeditionTM manual Software Image Download using NetSight, CLI Translator