注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 CCNA教材推荐
 帮助

CCNA(Stand-ALONE)Lab 8-Introduction to Interface configuration


2008-04-15 12:40:44
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://redking.blog.51cto.com/27212/71662
Objective: Learn to enable interfaces on a router, and learn what is required for an interface to be up.
Lab Equipment: Router 1 and Router 2 from the eRouters menu
Background Reading: Lab Primer Lesson 4: Router Interfaces
1. On Router 1, enter global configuration mode.
Router>enable
Router#conf t
Router(config)#
Router(config)#hostname Router1

2. Type the command to enter interface configuration mode for Ethernet 0.
Router1(config)#interface Ethernet 0
Router1(config-if)#

3. Display all the commands available in interface configuration mode by typing ?.
Router1(config-if)#?

4. The shutdown command shuts down the selected interface. You can often achieve the opposite of a command by typing no in front of it. Execute the command on Router 1 Ethernet 0 to enable the interface.
Router1(config-if)#no shutdown

5. Add a description for this interface.
Router1(config-if)#description Ethernet interface on Router 1

6. To view the interface description, exit back to privileged mode, and run the show interface command. You should see the description under Ethernet 0.
Router1(config-if)#end
Router1#show interface

7. Connect to Router 2, and assign it a host name of Router2.
Router#conf t
Router(config)#hostname Router2

8. Now, access the Ethernet 0 interface, and enable the interface.
Router2(config)#interface Ethernet 0
Router2(config-if)#no shutdown

9. Now that the interfaces on both sides of the Ethernet connection are enabled, they should be able to see one another through CDP. Use the show cdp neighbor command on Router2 to view all directly connected Cisco routers.
Router2(config-if)#end
Router2#show cdp neighbor
*************************************************************

本文出自 “大唐网络” 博客,请务必保留此出处http://redking.blog.51cto.com/27212/71662





    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: