Initial Configuration |
Networking - Cisco |
Initial Configuration Dialog The initial configuration dialog is an easy way to set up a router. It has no versatility and is not very complex. Most network administrators will not use this. But we should cover some parts of it so you are familiar with it. After the NVRAM has been wiped clean you will be prompted by the following bold statement. Then read and follow the questions using the information you have learned. Below is a sample of one way to configure the router through the configuration dialog. At any point you may enter a question mark ‘?’ for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets ‘[]’. Would you like to enter the initial configuration dialog? [yes]: First, would you like to see the current interface summary? [yes]: y Any interface listed with OK? value “NO” does not have a valid configuration Interface IP-Address OK? Method Status Protocol Ethernet0 unassigned NO unset up down Serial0 unassigned NO unset down down Serial1 unassigned NO unset down down Configuring global parameters: Enter host name [Router]: Montana The enable secret is a one-way cryptographic secret used instead of the enable password when it exists. Enter enable secret: cisco The enable password is used when there is no enable secret and when using older software and some boot images. Enter enable password: cisco1 Configuring interface parameters: Configuring interface Ethernet0: Is this interface in use? [yes]: n Configuring interface Serial0: Is this interface in use? [yes]: % A decimal number between 0 and 6. Number of bits in subnet field [0]: 5 IP address for this interface: 192.168.7.5 IP address for this interface: 192.168.7.5 Configuring interface Serial1: Is this interface in use? [yes]: This is the configuration that was created. We will now log onto the router and do a show run config to compare with what we have here. The following configuration command script was created: hostname Montana enable secret 5 $1$mz5Y$8Jqt5IFDDQhu9BZiRgd9E1 enable password cisco1 line vty 0 4 password cisco2 no snmp-server ! ip routing ! interface Ethernet0 shutdown no ip address ! interface Serial0 ip address 192.168.7.5 255.255.255.0 ! interface Serial1 no ip address ! end Do you like what you see in the configuration, this is a chance for you to back out of the configuration and start over. Use this configuration? [yes/no]: % Please answer ‘yes’ or ‘no’. Use this configuration? [yes/no]: y Building configuration... [OK] Notice how the router appears with the hostname already. It seems to have worked. Montana> Montana> System restarted – Cisco Internetwork Operating System Software IOS ™ 2500 Software (C2500-I-L), Version 11.2(7a), RELEASE SOFTWARE (fc1) Copyright © 1986-1997 by cisco Systems, Inc. Compiled Tue 01-Jul-97 14:53 by kuong Montana>enable Password: Now compare what we had above in the initial configuration dialog summary. It is the same. For some this may be the way to go, but for the CCNA you will have to know both ways. Montana#show run %SYS-5-CONFIG_I: Configured from console by console Building configuration... Current configuration: ! version 11.2 no service udp-small-servers no service tcp-small-servers ! hostname Montana ! enable secret 5 $1$mz5Y$8Jqt5IFDDQhu9BZiRgd9E1 enable password cisco1 ! ! interface Ethernet0 no ip address shutdown ! interface Serial0 ip address 192.168.7.5 255.255.255.0 ! interface Serial1 no ip address ! –More– ######### #########no ip classless ! line con 0 line aux 0 line vty 0 4 password cisco2 login ! end |