background image
590
Appendix A
Introduction to the Cisco IOS: Hands-on Labs
3.
Set the interface descriptions and router banner.
2501A(config-if)#description Ethernet LAN on 2501A
2501A(config-if)#interface serial 0
2501A(config-if)#description WAN to 2501B
2501A(config-if)#banner motd #
This is the 2501A router
#
2501A(config-if)#
4.
Save the configuration.
2501A(config-if)#^z
2501A#copy running-config startup-config
2501A#
5.
Connect to the 2501B router and log in. Set the hostname and
passwords.
Router#config t
Router(config)#hostname 2501B
2501B(config)#enable secret todd
2501B(config)#enable password bill
2501B(config)#line console 0
2501B(config-line)#login
2501B(config-line)#password todd
2501B(config-line)#line aux 0
2501B(config-line)#login
2501B(config-line)#password todd
2501B(config-line)#line vty 0 4
2501B(config-line)#login
2501B(config-line)#password todd
2501B(config-line)#
6.
On the 2501B router, set the IP address of 172.16.30.1/24 on the
Ethernet 0 interface and 172.16.20.2/24 on the serial 0 interface.
2501B(config-line)#interface serial 0
2501B(config-if)#ip address 172.16.20.2 255.255.255.0
2501B(config-if)#no shut
2501B(config-if)#interface ethernet 0
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com