Cisco Sg2008 Manual
Have a look at the manual Cisco Sg2008 Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 53 Cisco manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
Administration File Management Cisco Small Business SG200 Series 8-port Smart Switch61 3 For HTTP backups, you are prompted to browse to a location to save the file. A progress bar indicates the status of the file transfer. Delete Configuration The Delete Configuration page enables you to delete the Startup configuration or the Backup configuration. If you delete both the startup and the backup configuration files, when the switch reboots it will use the default configuration file. To delete the Startup or Backup Configuration file: STEP 1Click Administration > File Management > Delete Configuration in the navigation window. STEP 2Select the Startup Configuration or Backup Configuration file type. STEP 3Click Apply. Copying and Saving Configuration Files The Copy/Save Configuration page enables you to copy files within the file system. For example, you can copy the Backup Configuration file to the Startup Configuration file so that it will be used the next time you boot up the switch. To copy a file to the Startup or Backup Configuration file: STEP 1Click Administration > File Management > Copy/Save Configuration in the navigation window. STEP 2Select the Source File Name:
Administration File Management Cisco Small Business SG200 Series 8-port Smart Switch62 3 •Running Configuration—Current configuration, including any changes applied in the current management session. •Startup Configuration—Configuration file type used when the switch last booted. This does not include any configuration changes applied but not yet saved to the switch. •Backup Configuration—Backup configuration file type saved on the switch. •Mirror Configuration—If the Running Configuration is not modified for at least 24 hours, it is automatically saved to the Mirror Configuration file type, and a log message with severity level Alert is generated to indicate that a new Mirror Configuration file is available. The Mirror Configuration file can be used when the switch has problems booting with the Startup or Backup Configuration file types. In such cases, the administrator can copy the Mirror Configuration to either the Startup or Backup Configuration file type and reboot . STEP 3For the Destination File Name, select the file type to be overwritten with the file you are copying: •Startup Configuration—Configuration file type used when the switch last booted. This does not include any configuration changes applied but not yet saved to the switch. •Backup Configuration—Backup configuration file type saved on the switch. STEP 4Click Apply to begin the copy process. When complete, a window displays the message, Copy Operation Successful. DHCP Auto Configuration The switch supports Auto Configuration through DHCP to facilitate configuration deployment and upgrades. This feature enables the configuration of a switch automatically when no configuration file is found in device storage during the boot process or when a newer configuration file is available for download. NOTEThe Auto Configuration feature depends upon the proper configuration of other devices in the network, including a DHCP or BOOTP server, a TFTP server, and if necessary, a DNS server.
Administration File Management Cisco Small Business SG200 Series 8-port Smart Switch63 3 Overview During startup, the switch attempts communication with a DCHP server to obtain its IP address and other information. If Auto Configuration is enabled, the switch may also download a startup configuration file, depending on the TFTP server and startup configuration file name it receives from the DHCP server. Auto Configuration is enabled by default. DHCP Auto Configuration initiates when the switch is rebooted with Auto Configuration enabled, and any of the following conditions occur: 1. Information on the TFTP server and Startup Configuration is received from the DHCP server, and Auto Configuration has not previously downloaded the configuration file. 2. Information on the TFTP server and Startup Configuration is received from the DHCP server, and the configuration file name differs from the file name advertised in a previous DHCP message. 3. The Startup Configuration file is not present and no information on the TFTP server or Startup Configuration is received from the DHCP server. When conditions 1 and 2 occur, the switch saves the file to flash memory. Upon subsequent startups, it compares the stored file name to the name specified in option 66/67 in the current DHCP message. If they differ, the new file is downloaded and written to flash memory. NOTEWhen the system boots up for the first time, the switch does not have a specific name for the configuration file received from the DHCP server, as it has not downloaded a Startup Configuration file yet. If these options are received in the DHCP message, then that file name is saved and the download process begins. When option 3 occurs, the switch looks for the TFTP server and Startup Configuration file as described in Default Network Configuration File. DHCP Server Message Details Any of the following fields might be returned by a BOOTP or DHCP server and processed by the switch: •The name of the configuration file (boot file or option 67) to be downloaded from the TFTP server. •The identification of the TFTP server from which to obtain the boot file. The TFTP server IP address can be deduced from the multiple sources in a DHCP reply. The switch makes its selection based on the following criteria, from the highest priority to the lowest:
Administration File Management Cisco Small Business SG200 Series 8-port Smart Switch64 3 1. T h e sname field in a DHCP or BOOTP reply. 2. The TFTP server name (option 66) field in a DHCP reply. 3. The TFTP server address (option 150) field in a DHCP reply. 4. The siaddr field of a DHCP or BOOTP reply. If only the sname or option 66 values are returned to the switch, a DNS server is needed to resolve the IP address of the TFTP server. After an IP address is assigned to the switch, if a hostname is not already assigned, Auto Configuration sends a DNS request for the corresponding hostname. Alternate TFTP Server and File Name On the DHCP Auto Configuration page, you can configure an alternate TFTP server and file name to be used when the server or file name provided by the DHCP server cannot be located. The following procedure is followed: 1. The switch sends unicast messages to the TFTP server identified through DHCP, if provided. 2. If the DHCP information is not provided or the server or file name cannot be found, then the server uses the alternate information, if configured. 3. If the alternate information is not configured or the server or file name cannot be found, the switch sends broadcast TFTP requests for the file name in the DHCP message, if given. Otherwise, the switch enters default network configuration mode process described in the Default Network Configuration File section. Configuration File Download Details The switch first attempts to download a host-specific configuration file. If this is not possible, it downloads the configuration file .cfg if Default Network Configuration Mode is enabled. Host-specific Configuration File The switch attempts to download the host specific configuration file whose name is specified as the boot file name in the reply from a DHCP/BOOTP server, or is configured as the Backup Configuration File for DHCP Auto Configuration. The switch makes three unicast TFTP requests for the specified boot file. If the unicast attempts fail, or if a TFTP server address was not provided, the switch makes three broadcast requests to any available TFTP server for the specified boot file. When the switch gets the configuration file, the configuration is validated for errors. If the validation is successful, the switch copies the configuration to the Startup Configuration file type, stores the configuration file name in non-volatile memory, and reboots the unit.
Administration File Management Cisco Small Business SG200 Series 8-port Smart Switch65 3 NOTEThe switch requires the boot file name to have a .cfg extension. Default Network Configuration File If Default Network Configuration Mode is enabled, the switch downloads the configuration file .cfg when any one of the following conditions occurs: •A host specific configuration file is not specified or configured. •A host specific configuration file does not exist on the TFTP server. •A failure occurs during the download. NOTEThe startup configuration file cannot be present on the switch. If the startup configuration file is present on the switch, this process is not initiated. To resolve the hostname in the configuration file, the switch first downloads fp-net.cfg from the TFTP server. The fp-net.cfg file is referred as the default network configuration file and contains one or more IP-address-to-host-name mappings. The switch determines the hostname from the mappings with its IP address. If there is no mapping, the switch uses reverse DNS lookup to discover the hostname. The following is a sample fp-net.cfg file. config ... ip host switch_to_setup 192.168.1.10 ip host another_switch 192.168.1.11 ... exit When a hostname has been determined, the switch issues a TFTP request for a file named .cfg, where is the first eight characters of the switch hostname. The switch uses the IP address to do a DNS reverse name lookup. For example, if the switch IP address is 192.168.1.10, the hostname becomes switch_t.cfg (the first eight characters in the example above). The default switch name is derived as switch+last 6 digits of hex address. The mapping file should have the hostnames such as ip host switchD99FA5 192.168.1.10. Then, the hostname learned for the is switchD9.cfg for the switch having the IP address 192.168.1.10. If the switch is unable to map its IP address to a hostname, Auto Configuration sends TFTP requests for the default configuration file host.cfg.
Administration File Management Cisco Small Business SG200 Series 8-port Smart Switch66 3 When the switch gets the default configuration file, the configuration is validated for errors. If the validation is successful, then the switch copies the configuration to the Startup Configuration file type and reboots. In this case, the default configuration file name is not stored in the non-volatile memory. NOTEIf the switch is unable to get the valid configuration file, then the process described above is repeated every 20 minutes until the switch gets a valid configuration file. The administrator can create a Startup Configuration file by manually saving the Running Configuration. The administrator can also disable Auto Configuration if desired. The following table summarizes the configuration files that can be downloaded, and the order in which they are sought. An operator can terminate Auto Configuration at any time prior to the downloading of the file. This should be done when the switch is disconnected from the network, or if the required configuration files have not been set up on TFTP servers. When a configuration file is successfully downloaded and saved to the Startup Configuration file type, the switch logs a message with severity level Alert prior to rebooting.Order SoughtFile Name Description Final File Sought 1.cfg Host-specific configuration file, ending in a *.cfg file extension 1 Ye s 2fp-net.cfg Default network configuration file No 3.cfg Host-specific configuration file, associated with hostnameYe s 4host.cfg Default configuration file Yes 1. This file name might be learned through DHCP or manually configured, as described in Alternate TFTP Server and File Name.
Administration File Management Cisco Small Business SG200 Series 8-port Smart Switch67 3 Setting DHCP Auto Configuration You can use the DHCP Auto Configuration page to enable and disable the feature, configure TFTP server and file name settings, and view status information. When DHCP Auto Configuration is enabled, it will be in the Waiting for boot options state, until it receives the notification from the DHCP client. The DHCP client triggers the Auto Install process when it receives the IP address from the DHCP server, after which the status changes to Processing DHCP/BOOTP options, checking preconditions. The following messages might display: •Waiting for boot options •Processing DHCP/BOOTP options, checking preconditions •Downloading tftp:/// •Applying downloaded configuration •Waiting for restart timeout •Saving the downloaded configuration •Stopped •AutoInstall is completed. •AutoInstall process is terminated:File validation failed. •AutoInstall process is terminated:Failed to save the downloaded configuration file to start-up configuration. •AutoInstall process terminated:Startup config is created manually. •AutoInstall process is terminated :Boot file matched with the last downloaded file. •AutoInstall process is terminated:Failed to resolve the boot file name.
Administration File Management Cisco Small Business SG200 Series 8-port Smart Switch68 3 To configure DHCP Auto Configuration: STEP 1Click Administration > File Management > DHCP Auto Configuration in the navigation window. STEP 2 Enter the parameters: •Auto Configuration Via DHCP—Select Enable to enable this feature on the switch. •Default Network Config Mode—Select Enable to have the switch download a default configuration file named fp-net.cfg when no host- specific file is found on the switch. See Default Network Configuration File for details . •Alternate TFTP Server—Specify the IP address of a TFTP server to serve as a backup. An alternate TFTP ser ver is used when unicast requests to the TFTP server specified in option 66 fails three times. (The length of the string cannot exceed 96 characters.) •Alternate Configuration File—Specify an alternate configuration file name to serve as a backup. If no startup configuration file identified in DHCP option 67, or if the specified file cannot be found on the TFTP server, Auto Configuration looks for the alternate file name. (The length of the string cannot exceed 32 characters.) •Last Auto Configuration File Name—The configuration file name used the last time the Auto Configuration process executed. If a different file name is identified through DHCP, the file download process will begin. •Current Status—The status of the Auto Configuration process. Possible values are AutoInstall Complete or In Progress. STEP 3Click Apply. Your changes are saved to the Running Configuration.
Administration File Management Cisco Small Business SG200 Series 8-port Smart Switch69 3 Firmware Recovery Over HTTP The switch has a firmware recovery feature that enables the restoration of a valid image on the switch after a failed download. If the power goes down during an image download, the switch might not be able to boot. In this event, although the image is not usable, the boot loader file that loads the firmware image from Flash memor y to R AM should continue to be functional. An HTTP ser ver is embedded in the boot loader file, enabling the administrator to connect to the switch over a switch port and use a web browser to download and install a new firmware image. The switch enters the HTTP firmware recovery mode when the switch is booted and the boot loader cannot find a valid image in flash memory. In this mode, the boot loader sets the switch internal network port to the following static IP address: •IP Address: 192.168.1.254 •Network Mask: 255.255.255.0 •Default Gateway: 192.168.1.1 An HTTP server starts and listens for client connections on port 80. NOTEFirmware recovery can also be performed using the command line interface. Refer to the Cisco Small Business SF200E Command Line Reference. To use this feature to download a new firmware image: STEP 1Directly connect a management PC to any switch port. STEP 2Configure the IP address and mask on the management PC to be in the same subnet as the switch. NOTE: You can access the system across a network if the default gateway IP address is 192.168.1.1. STEP 3Open a web browser and enter the IP address of the switch in the address bar (192.168.1.254).
Administration File Management Cisco Small Business SG200 Series 8-port Smart Switch70 3 NOTE: The HTTP firmware recovery features supports the following browsers: •Firefox 3.0 and later versions •Internet Explorer 6 and later versions A Firmware Recovery page displays. No authentication is required. The web page displays the PIC VID (product ID and vendor ID), serial number, and MAC Address of the switch. STEP 4Select Browse and select a valid firmware image to download. A progress bar appears while the file is downloading. The following message appears upon a successful download: 100% Complete File downloaded successfully. Please wait while the file is being written to flash. The file selected by administrator is downloaded to RAM and is validated for following conditions: •The CRC of the file is good. •The STK file is built for this platform. •The STK file size is within the partition limits (4.5 MB is reserved for this file). If these conditions are met, the file is written to Flash memory and the system is rebooted using the new firmware. If any of these checks fail, the image is not written to Flash memory and the recovery process is stopped. You can restart the recovery process with a correct image file. If the transfer is aborted because the browser window is refreshed or closed, the session is cleared and the session times out immediately. If the transfer is aborted because the network is unreachable, the session times out after 45 seconds. After the session times out, you can begin the recovery process again.