Configuring with the Command-Line Interface
This chapter describes how to use the Cisco IOS software command-line interface (CLI) to configure basic Cisco VG224 functionality.
This chapter presents the following major topics:
•Configuring the Host Name and Password
•Configuring Fast Ethernet Interfaces
Follow the procedures in this chapter to configure the Cisco VG224 manually or, if you want to, change the configuration after you have run the setup command facility (see "Using the setup Command" section on page 2-2).
This chapter does not describe every configuration possible—only a small portion of the most commonly used configuration procedures. For advanced configuration topics, refer to the Cisco IOS configuration guide and command reference publications. See "Obtaining Documentation" section on page x.
Note If you skipped the previous chapter, Chapter 2, "Using the setup Command," and you have never configured a Cisco VG224, go back to that chapter and read it now. The chapter contains important information you need to configure your Cisco VG224 successfully.
Configuring the Host Name and Password
One of the first configuration tasks you might want to do is to configure the host name and set an encrypted password. Configuring a host name allows you to distinguish multiple Cisco VG224s and routers from each other. Setting an encrypted password allows you to prevent unauthorized configuration changes.
Verifying the Host Name and Password
To verify that you configured the correct host name and password:
Step 1 Enter the show config command:
Router(config)# show config
Using 1888 out of 126968 bytes
!
version XX.X
.
.
.
!
hostname VG224
!
enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/
.
.
.
Check the host name and encrypted password displayed near the top of the command output.
Step 2 Exit global configuration mode and attempt to reenter it using the new enable password:
Router# exit
.
.
.
Router con0 is now available
Press RETURN to get started.
Router> enable
Password: guessme
Router#
Tip If you are having trouble, ensure the following:
•Caps Lock is off.
•You entered the correct passwords. Passwords are case sensitive.
Configuring Fast Ethernet Interfaces
To configure a Fast Ethernet interface, use the configuration software provided with your Cisco VG224 or network module, if any. Otherwise, for greatest power and flexibility, use configuration mode (manual configuration).
Note Before you begin, disconnect all WAN cables from the Cisco VG224 to keep it from trying to run the AutoInstall process. The Cisco VG224 tries to run AutoInstall whenever you power it on if there is a WAN connection on both ends and the Cisco VG224 does not have a valid configuration file stored in NVRAM (for instance, when you add a new interface). It can take several minutes for the Cisco VG224 to determine that AutoInstall is not connected to a remote TCP/IP host.
This section describes basic configuration, including enabling the interface and specifying IP routing. Depending on your own requirements and the protocols you plan to route, you might also need to enter other configuration commands.
Before you begin configuring the interfaces, make sure to do the following:
•Connect a console to the Cisco VG224.
•Power on the Cisco VG224.
Saving Configuration Changes
To prevent the loss of the Cisco VG224 configuration, save it to NVRAM:
Where to Go Next
At this point you can proceed to the following:
•The Cisco IOS software configuration guide and command reference publications for more advanced configuration topics. These publications are available on Cisco.com or on the Documentation CD-ROM, or you can order printed copies.
•Cisco System Error Messages, Release 12.3(4)T, and Cisco Debug Command Reference, Release 12.3(4)T provide troubleshooting information. For these and other documents, see Obtaining Documentation, page x.