background image
Hands-on Labs
637
Lab B.1: Managing the 1900 Switch
In this lab, you will connect to the Cisco Catalyst 1900 switch and manage
the switch features.
1.
From your 1900 switch, press K to enter into CLI mode.
2.
From the 1900 CLI, press Enter, then type enable at the user mode
prompt (>).
3.
Type show running-config to view the current configuration.
Notice the default settings.
4.
Type show version to view the IOS version running on the switch.
5.
Set the name of the switch by using the hostname command:
config t
hostname 1900A
6.
Type show ip to see the default IP address, subnet mask, and default
gateway settings.
7.
Set the IP address, subnet mask, and default gateway of the switch by
typing the following:
config t
ip address 172.16.10.3 255.255.255.0
ip default-gateway 172.16.10.1
8.
Type show ip again to see the new configuration.
9.
Type show mac-address-table to view the filter table used in the
switch to make forwarding decisions.
10.
Type show interfaces to gather statistics on all interfaces.
11.
Type show int ? to see the available Ethernet and Fast Ethernet
commands.
12.
Type sho int Ethernet ? to choose the card 0. <0-0> means only one
card with 12 or 24 ports.
13.
Type sh int e0/? to see all available interfaces.
14.
Type sh int e0/2 to see statistics for interface Ethernet 2.
15.
Type delete nvram to delete the startup-config.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com