background image
Hands-On Lab
87
4.
(Optional) Assign the enable secret, which will override the enable
password:
enable secret todd
5.
Set the hostname of the switch:
config t
hostname 1900A
6.
Set the IP address of the switch:
config t
ip address 172.16.10.2 255.255.255.0
7.
Set the default gateway for the switch:
config t
ip default-gateway 172.16.10.1
8.
Set interface 4 to run in full duplex:
config t
int Ethernet 0/4
duplex full
9.
Set the description of the interface to Management PC:
config t
int e0/4
description Management_PC
10.
Type the command to view the current configuration:
show running-config
11.
Verify the IP configuration of the switch:
show ip
12.
Verify the configuration of interface 4:
show int e0/4
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com