|
|
Performing a Basic Configuration of the Cisco 7206
This chapter describes how to perform a basic configuration for your Cisco 7206. The chapter contains the following sections:
This chapter guides you through a basic Cisco 7206 configuration, which is sufficient for you to access your network. Complex configuration procedures are beyond the scope of this publication and can be found in the configuration publications listed in the section "If You Need More Information."
To configure the Cisco 7206 from a console, you need to connect a terminal to the router's console port. Configuration requires access to the console port on the router's I/O controller.
The Cisco Internetwork Operating System (Cisco IOS) software running the Cisco 7206 contains extensive features and functionality. The effective use of these features is easier if you have more information at hand. For additional information on configuring the Cisco 7206 router, the following documentation resources are available:
cs-rep@cisco.com
. You can also refer to the Cisco Information Packet that shipped with your router.
Using the Enable Secret and the Enable Password
The Cisco 7206 is administered using the Cisco command interpreter, called the EXEC. You must boot and log in to the router before you can enter an EXEC command. For security purposes the EXEC has two levels of access to commands, user EXEC mode and privileged EXEC mode.
The commands available at the user level are a subset of those available at the privileged level. Because many privileged-level EXEC commands are used to set operating parameters, you should password-protect these commands to prevent unauthorized use.
There are two commands you can use to set the password protection:
You must enter the correct password to gain access to privileged-level commands. The passwords should be different for maximum security. If you enter the same password for both during the setup script, the system will accept it, but you will receive a warning message indicating that you should enter a different password.
An enable secret password can contain from 1 to 25 uppercase and lowercase alphanumeric characters; an enable password can contain any number of uppercase and lowercase alphanumeric characters. In both cases, a number cannot be the first character. Spaces are also valid password characters; for example, "two words" is a valid password. Leading spaces are ignored; trailing spaces are recognized.
You can configure the Cisco 7206 using one of the procedures described in the following sections:
Follow the procedure that best fits the needs of your network configuration.
Before continuing the configuration process, check the current state of the router by entering the show version command. The show version command displays the release of Cisco IOS software that is available on the router.
Configuring the Cisco 7206 Using AutoInstall
The AutoInstall process is designed to configure the Cisco 7206 automatically after connection to your wide-area network (WAN). For AutoInstall to work properly, a Transmission Control Protocol/Internet Protocol (TCP/IP) host on your network must be preconfigured to provide the required configuration files. The TCP/IP host may exist anywhere on the network as long as the following two conditions are maintained:
This functionality is coordinated by your system administrator at the site where the TCP/IP host is located. You should not use AutoInstall unless the required files are available on the TCP/IP host. See the publications Configuration Fundamentals Configuration Guide and Configuration Fundamentals Command Reference for information about how AutoInstall works.
Complete the following steps to prepare your Cisco 7206 for the AutoInstall process:
Configuring the Cisco 7206 Manually Using the Setup Facility
If you do not plan to use AutoInstall, do not connect the router's serial (WAN) cable to the channel service unit/data service unit (CSU/DSU). If the serial (WAN) cable is connected to the CSU/DSU and the router does not have a configuration stored in NVRAM, the router attempts to run AutoInstall at start up. The router may take several minutes to determine that AutoInstall is not set up to a remote TCP/IP host.
Once the router has determined that AutoInstall is not configured, it will default to the setup facility. If the serial (WAN) cable is not connected, the router will boot from Flash memory and go automatically into the setup facility.
When you first start the setup program, you must configure the global parameters. These parameters are used for controlling system-wide settings. Complete the following steps to enter the global parameters:
The following sample display includes a continuous listing of all configuration parameters selected in Step 4 through Step 8. These parameters are shown in the order in which they appear on your console terminal. Only IP, IPX, and AppleTalk are the selected protocols for this example.
Following are the steps for configuring interfaces to allow communication over a local-area network (LAN) or WAN. To configure the interface parameters, you need your interface network addresses and subnet mask information. Consult with your network administrator for this information.
Configuring Ethernet Interfaces
Configuring Synchronous Serial Interfaces
The synchronous serial interfaces are configured to allow connection to WANs through a CSU/DSU. Complete the following steps to configure the serial ports:
The following sample display includes a continuous listing of all interface configuration parameters selected for Ethernet and synchronous serial interfaces. These parameters are shown in the order in which they appear on your console terminal. Only one Ethernet and one synchronous serial interface are configured for this example.
Your Cisco 7206 is now minimally configured and is ready to use. You can use the setup command if you want to modify the parameters after the initial configuration. To perform more complex configurations, use the configure command.
For information on additional interface configuration and specific system configurations, refer to the section "If You Need More Information" earlier in this chapter.
Configuring the Cisco 7206 Using the Configuration Mode
You can configure the Cisco 7206 manually if you prefer not to use the setup facility or AutoInstall. Complete the following steps to configure the Cisco 7206 manually:
Your Cisco 7206 is now minimally configured and will boot with the configuration you have entered. To see a list of the configuration commands available to you, enter ? at the prompt or press the help key while in configuration mode
To store the configuration or changes to your startup configuration in NVRAM, enter the copy running-config startup-config command at the Using this command saves the configuration settings that you created in the Cisco 7206 using configuration mode and the setup facility. If you fail to do this, your configuration will be lost the next time you reload the router.
Checking Your Settings and Reviewing Your Configuration Changes
You can check your settings and review any changes to your configuration using various software commands.
To check the value of the settings you have entered, enter the show running-config command at the To review changes you make to the configuration, use the EXEC show startup-config command to display the information stored in NVRAM.
Implementing Other Configuration Tasks
To make advanced configuration changes after you establish the basic startup configuration for your Cisco 7206, refer to the publications listed in the section "If You Need More Information" in this chapter. These publications contain additional information on using the configure command.
The configuration publications also provide information about the following tasks:
After you have installed the Cisco 7206 hardware, checked all external connections, turned on the system power, allowed the system to boot up, and minimally configured the system, you might need to perform more complex configurations, which are beyond the scope of this publication.
For specific information on system and interface configuration, refer to the publications listed in the section "If You Need More Information" in this chapter.
Copyright 1988-1996 © Cisco Systems Inc.
Hostname#
copy running-config startup-config
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS (tm) 7200 Software (C7200-J-M), Experimental Version 11.1(472)
[kpfjrgiu 100]
Copyright (c) 1986-1996 by cisco Systems, Inc.
Compiled Sun 21-Apr-96 04:10 by
cisco 7200 (R4700) processor with 22528K/10240K bytes of memory.
R4700 processor, Implementation 33, Revision 1.0 (Level 2 Cache)
Last reset from power-on
Bridging software.
SuperLAT software copyright 1990 by Meridian Technology Corp).
X.25 software, Version 2.0, NET2, BFE and GOSIP compliant.
TN3270 Emulation software (copyright 1994 by TGV Inc).
4 Ethernet/IEEE 802.3 interfaces.
5 FastEthernet/IEEE 802.3 interfaces.
8 Serial network interfaces.
125K bytes of non-volatile configuration memory.
20480K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
4096K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x0
--- System Configuration Dialog ---
At any point you may enter a questions mark `?' for help.
Use ctrl-c to abort configuration dialof at any prompt.
Default settings are in square brackets `[]'.
continue with configuration dialog? [yes]:
Would you like to enter the initial configuration dialog? [yes]:
First, would you like to see the current interface summary? [yes]:
Any interface listed with OK? value "NO" does not have a valid configuration.
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 unassigned NO not set down down
Ethernet0/1 unassigned NO not set down down
Configuring global parameters:
Enter host name [Router]:
router
The enable secret password is a one-way cryptographic secret
password used instead of the enable password when it exists.
Enter enable secret:
barney
The enable password is used when there is no enable secret
password and when using older software and some boot images.
Enter enable password:
betty
Configure SNMP Network Management? [yes]:
Community string [public]:
Configure CLNS? [no]:
no
Configure AppleTalk? [no]:
yes
Multizone networks? [no]:
yes
Configure IPX? [no]:
yes
Configure Vines? [no]:
no
Configure XNS? [no]:
no
Configure DECnet? [no]:
no
Configure bridging? [no]:
no
Configure IP? [yes]:
Configure IGRP routing? [yes]:
Your IGRP autonomous system number [1]:
15
Configure AppleTalk? [no]:
yes
Multizone networks? [no]:
yes
Configure IPX? [no]:
yes
Configuring global parameters:
Enter host name [Router]:
The enable secret is a one-way cryptographic secret used
instead of the enable password when it exists.
Enter enable secret: barney
The enable password is used when there is no enable secret
and when using older software and some boot images.
Enter enable password: wilma
Enter virtual terminal password: fred
Configure SNMP Network Management? [yes]:
Community string [public]:
Configure IP? [yes]:
Configure IGRP routing? [yes]:
Your IGRP autonomous system number [1]: 15
Configure Vines? [no]:
Configure IPX? [no]: y
Configure AppleTalk? [no]: y
Multizone networks? [no]: y
Configure Apollo? [no]:
Configure DECnet? [no]:
Configure XNS? [no]:
Configure CLNS? [no]:
Configure bridging? [no]:
Configuring interface parameters:
Configuring interface Ethernet0/0:
Is this interface in use? [no]:
yes
Configure IP on this interface? [no]:
yes
IP address for this interface:
1.1.1.10
Number of bits in subnet field [0]:
Class A network is 1.0.0.0, 0 subnet bits; mask is 255.0.0.0
Configure IPX on this interface? [no]:
yes
IPX network number [2]:
Configure AppleTalk on this interface? [no]:
yes
Extended AppleTalk network? [no]:
yes
AppleTalk starting cable range [0]:
Configuring interface Serial0/0:
Is this interface in use? [no]:
yes
Configure IP unnumbered on this interface? [no]:
IP address for this interface:
1.1.1.20
Number of bits in subnet field [0]:
Class A network is 1.0.0.0, 0 subnet bits; mask is 255.0.0.0
Configure IPX on this interface? [no]:
yes
IPX network number [2]:
Configure AppleTalk on this interface? [no]:
yes
Extended AppleTalk network? [no]:
AppleTalk network number [1]:
Configuring interface parameters:
Configuring interface Ethernet0/0:
Is this interface in use? [no]: yes
Configure IP on this interface? [no]: yes
IP address for this interface: 1.1.1.10
Number of bits in subnet field [0]:
Class A network is 1.0.0.0, 0 subnet bits; mask is 255.0.0.0
Configure IPX on this interface? [no]: yes
IPX network number [2]: 10
Configure AppleTalk on this interface? [no]: yes
Extended AppleTalk network? [no]: yes
AppleTalk starting cable range [0]:
Configuring interface Serial0/0:
Is this interface in use? [no]: yes
Configure IP on this interface? [no]: yes
Configure IP unnumbered on this interface? [no]:
IP address for this interface: 1.1.1.20
Number of bits in subnet field [0]:
Class A network is 1.0.0.0, 0 subnet bits; mask is 255.0.0.0
Configure IPX on this interface? [no]: yes
IPX network number [2]:
Configure AppleTalk on this interface? [no]: yes
Extended AppleTalk network? [no]:
AppleTalk network number [1]:
The following configuration command script was created:
hostname Router
enable secret 5 $1$u8z3$PMYY8em./8sszhzk78p/Y0
enable password wilma
line vty 0 4
password s
snmp-server community public
!
ip routing
no vines routing
ipx routing
appletalk routing
no apollo routing
no decnet routing
no xns routing
no clns routing
no bridge 1
! Turn off IPX to prevent network conflicts.
interface Ethernet0/0
no ipx network
interface Ethernet0/1
no ipx network
!
interface Ethernet0/0
ip address 1.1.1.10 255.0.0.0
appletalk cable-range 0-0 0.0
appletalk discovery
no mop enabled
!
interface serial0/0
ip address 1.1.1.20 255.0.0.0
ip route-cache cbus
no keepalive
!
!
router igrp 15
network 1.0.0.0
!
end
Use this configuration? [yes/no]: yes
[OK]
Use the enabled mode `configure' command to modify this configuration.
Press RETURN to get started!
Would you like to enter the initial dialog? [yes]:
no
(Router>)
is displayed. Type enable to enter enable mode (configuration changes can only be made in enable mode):
Router>
enable
Router#
Router#
config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#
prompt, enter the interface type slot/port command to enter the interface configuration mode:
Router(config)#
interface serial
slot/port
Router(config-int)#
Hostname#
prompt:
Hostname# copy running-config startup-config
Router#
prompt:
Router# show running-config
.
.
.
![]()
![]()
![]()
![]()
![]()
![]()
![]()