Configuring the Switch

There are three different options for configuring a new Catalyst 1900 switch:

  • Menu-driven interface

  • Command-line interface (CLI) (only available on Enterprise Edition IOS software)

  • Web-based interface

These configuration options may vary depending on which model of switch you have and which version of software it is running. Using the menu-driven interface may seem like the easiest and quickest way to get your switch running. It is important, however, that you learn how to configure the switch through the CLI as well.

graphics/alert_icon.gif

The CLI is the standard interface used to configure any Cisco device running the IOS, Cisco's proprietary OS. In addition, Cisco simulates some commands through the CLI in the certification exam so beware.


The Web-based interface is another easy visual way to monitor and configure the switch. It is important to note, however, that before you can use the Web-based interface, the switch must have a valid Internet Protocol (IP) address. For this reason, you must first configure at least an IP address using one of the other two configuration methods .

Default Configuration

Cisco switches come with a default configuration that is actually usable in many cases without any additional customization. Table 9.1 shows the default configuration settings of a Catalyst 1900 switch. For most situations, you will want to configure at least some basic options on the switch, such as an IP address, default gateway, and duplex options. An example of where you would use the default configuration would be an environment where VLANs, port filtering, and so on are not an issue and you merely want the functionality of a switch, albeit an expensive one.

Table 9.1. Catalyst 1900 Default Configuration

Option

Default Value

IP Address

0.0.0.0

CDP

Enabled

Switching mode

Fragment-free

100BASE-T port

Auto-negotiate duplex mode

10BASE-T port

Half duplex

Spanning tree protocol

Enabled

Console password

None

Using the Menu-Driven Interface

Using the menu-driven interface to configure a Catalyst 1900 switch is a simple and straightforward process. You must first connect to the switch through the console port using a PC with terminal emulation software or Telnet into the switch. As soon as the switch starts up, a menu that you use to select the option to configure appears. The initial management console logon screen looks like this:

 
 User Interface Menu [M] Menus [K] Command Line [I] IP Address [P] Console Password Enter Selection: 

You may want to give the switch a password by pressing P and following the instructions about setting the console password. You can enter the IP Configuration menu by pressing I. You will see this once you enter the IP Configuration menu:

 
 Catalyst 1900 - IP Configuration Ethernet Address:00-E0-1E-7E-B4-40 ----------Settings---------- [I] IP address               0.0.0.0 [S] Subnet mask               0.0.0.0 [G] Default gateway             0.0.0.0 [B] Management Bridge Group1 (fixed) [M] IP address of DNS server 1       0.0.0.0 [N] IP address of DNS server 2       0.0.0.0 [D] Domain name [R] Use Routing Information Protocol    Enabled ----------Actions---------- [P] Ping [C] Clear cached DNS entries [X] Exit to previous menu Enter Selection: 

You can access the Management Console Main Menu by pressing M, which shows you the following:

 
 Catalyst 1900 - Main Menu [C] Console Settings [S] System [N] Network Management [P] Port Configuration [A] Port Addressing [D] Port Statistics Detail [M] Monitoring [B] Bridge Group [R] Multicast Registration [F] Firmware [I] RS-232 Interface [U] Usage Summaries [H] Help [X] Exit Management Console Enter Selection: 

Almost every option that you may need to configure for a Catalyst switch has an associated menu command.

Using the CLI

The Command Line Interface (CLI), while slightly more difficult to learn than the menu-driven interface, is important to know because it is used for configuration across the entire Cisco product line. The CLI is available on switches that are running the Enterprise Edition of Cisco's IOS. From the initial management console logon screen, press K to enter the CLI. You will get a prompt that looks similar to the following:

 
 1900> 

Enter privileged mode by using the enable command. Then, enter configuration mode by using the config terminal command.

 
 1900>enable Enter Password: <enable password> 1900#config terminal 1900(config)# 


CCNA Exam Cram[tm] 2 (Exams 640-821, 640-811, 640-801)
CCNA Exam Cram[tm] 2 (Exams 640-821, 640-811, 640-801)
ISBN: 789730197
EAN: N/A
Year: 2005
Pages: 155

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net