Table Of Contents
Manually Editing the Configuration File
Reset to Factory Defaults
This Feature Not Supported
Cisco SDM allows you to edit the router configuration file and to reset the router configuration to factory defaults. Because editing the configuration file directly and resetting the router to factory defaults can cause you to lose the connection between the PC and the router, be sure to read the online help for all screens in this area of Cisco SDM.
Manually Editing the Configuration File
Cisco SDM allows you to edit the router configuration file by providing a configuration editor that you can use to import a configuration file or use to enter Cisco IOS CLI commands directly.
Cisco SDM supports the most widely-used Cisco IOS commands and keywords, but it cannot support every CLI command. If you are experienced with the Cisco IOS CLI and have an excellent understanding of how the configuration commands that you want to enter will affect the behavior of the router and the network in which it resides, you may find that using the configuration editor is faster than using Cisco SDM dialogs. If you want to add a configuration that Cisco SDM does not support, you must either use the Config Editor to do so, or open a Telnet session with the router and use the Cisco IOS CLI.
Using the Config Editor bypasses Cisco SDM validation. Although Cisco SDM returns IOS error messages, it cannot compare your configuration changes against the running configuration and inform you of conflicts thay may result. For example, if you use Cisco SDM dialogs to enter a VPN configuration on a router that already has a firewall configuration, Cisco SDM examines the firewall and determines which permit statements must be added to enable VPN traffic to pass through, and is able to make them for you. However, if you use the Config Editor, you must determine which conflicts may result by examining the existing configuration and making any additional changes needed to resolve those conflicts, and then monitor router behavior to see if it handles traffic as you intend it to.
Although it is not required, it is strongly recommended that you allow Cisco SDM to back up the current running configuration. When Cisco SDM performs this backup, it uses the same filename each time, thus overwriting any earlier backup file.
The Config Editor lets you view the running configuration and make changes to it by editing specific commands or by replacing the entire configuration file with one that you import from your PC. You can view the running configuration as you make changes, or you can use the entire window to view the configuration that you are sending to the router.
By default, this box displays the router running configuration. You can hide this box by clicking Hide in the upper-right-hand corner of the window. Redisplay this box by clicking Show.
Perform edits in this box. By default, this box is empty. Fill it with the router running configuration by clicking Import > running config. Fill it with a configuration file on the PC by clicking Import > config from PC. Increase the size of this box by hiding the Running Configuration box.
Merging with Running Config
If you want to merge changes that you have made in the Edit Configuration box with the router running config, click Merge with Running Config. The changes are sent to the router and take effect as soon as the router receives them.
Replacing the Running Config
If you want to replace the running config with the contents of the Edit Configuration box, click Replace Running Config. You should not use this button unless you have populated the Edit Configuration box with a configuration that you have imported from the router and edited, or a configuration that you have imported from your PC.
If you saved the running configuration before using the Config Editor, you can restore that configuration to your router by clicking this button. The restored configuration is copied to the router's startup configuration, and the router is reloaded. If no backup copy of the router's configuration exists, Cisco SDM displays a message informing you that it cannot restore the configuration.
Reset to Factory Defaults
You can reset the configuration of the router to factory defaults and save the current configuration to a file that can be used later. If you changed the router's LAN IP address from the factory value 10.10.10.1, you will lose the connection between the router and the PC because that IP address will change back to 10.10.10.1 when you reset.
Note•The Reset to Factory Defaults feature is not supported on Cisco 3620, 3640, 3640A, and 7000 series routers.
•The Reset to Factory Defaults feature is not supported when you are running a copy of Cisco SDM installed on the PC.
Before you start, you should understand how to give your PC a static IP address in the 10.10.10.0 subnet so that you will be able to reconnect to the router after you reset it. The factory configuration does not include a DHCP server configuration on the router, and the router will not give an IP address to the PC. In addition, the factory configuration limits HTTP or HTTPS access to the router, restricting it to the LAN interface, and only from the internal subnet defined on that interface. After you access the router, you can change the router default IP address and set it to allow remote access.
Understanding How to Give the PC a Dynamic or Static IP Address After You Reset
If you want to use Cisco SDM after you reset, you have to give your PC a static or dynamic IP address, depending on the type of router that you have. Use the following table to determine the type of address to give the PC.
Routers Needing Dynamic Addresses
Routers Needing Static Addresses
Cisco 83x, 85x, and 87x
Cisco 1701, 1710, and 171x
Cisco 180x and 181x
Cisco 1721, 1751, and 1760
Cisco 2600XM, and 2691
Cisco 28xx, 36xx, 37xx, and 38xx
The process for giving the PC a static or dynamic IP address varies slightly depending on the version of Microsoft Windows the PC is running.
Note Do not reconfigure the PC until after you reset the router.
Microsoft Windows NT
From the Control Panel, double-click the Network icon to display the Network window. Click Protocols, select the first TCP/IP Protocol entry, and click Properties. In the Properties window, select the Ethernet adapter used for this connection. Click Obtain an IP Address Automatically to obtain a dynamic IP address. For a static IP address, click Specify an IP address. Enter the IP address 10.10.10.2 or any other address in the 10.10.10.0 subnet greater than 10.10.10.1. Enter the subnet 255.255.255.248. Click OK.
Microsoft Windows 98 and Microsoft Windows ME
From the Control Panel, double-click the Network icon to display the Network window. Double-click the TCP/IP Protocol entry with the Ethernet adapter being used for this connection to display TCP/IP Properties. In the IP address tab, click Obtain an IP Address Automatically to obtain a dynamic IP address. For a static IP address, click Specify an IP address. Enter the IP address 10.10.10.2 or any other address in the 10.10.10.0 subnet greater than 10.10.10.1. Enter the subnet 255.255.255.248. Click OK.
Microsoft Windows 2000
From the Control Panel, select Network and Dialup Connections/Local Area Connections. Select the Ethernet adapter in the Connect Using field. Select Internet Protocol, and click Properties. Click Obtain an IP Address Automatically to obtain a dynamic IP address. For a static IP address, click Specify an IP address. Enter the IP address 10.10.10.2 or any other address in the 10.10.10.0 subnet greater than 10.10.10.1. Enter the subnet 255.255.255.248. Click OK.
Microsoft Windows XP
Click Start, select Settings, Network Connections, and then select the LAN connection you will use. Click Properties, select Internet Protocol TCP/IP, and click the Properties button. Click Obtain an IP Address Automatically to obtain a dynamic IP address. For a static IP address, click Specify an IP address. Enter the IP address 10.10.10.2 or any other address in the 10.10.10.0 subnet greater than 10.10.10.1. Enter the subnet 255.255.255.248. Click OK.
To Reset the Router to Factory Defaults:
Step 1 In the Step 1 area of the Reset to Factory Defaults screen, leave Save Running Config to PC checked, and specify a name for the configuration file. Cisco SDM provides a default path and name. You don't have to change it unless you want to.
Step 2 Review the information in the Understand How to Reconnect box in Step 2 on screen so that you will be able to establish a connection to the router after you reset. If necessary, review the information in Understanding How to Give the PC a Dynamic or Static IP Address After You Reset.
Step 3 Click Reset Router.
Step 4 Click Yes to confirm the reset.
Step 5 Follow the procedure in the' Understand How to Reconnect box in Step 2 to reconnect.
Resetting the router to its factory default configuration changes the router's inside interface IP address back to 10.10.10.1. The next time you log on to the router with your browser, enter the IP address 10.10.10.1 in the browser's location field.
This Feature Not Supported
This window appears when an Cisco SDM feature is not supported. This may be because the router is running a Cisco IOS image that does not support the feature, or because Cisco SDM is being run on a PC and cannot support the feature.