当前位置:主页   - 电脑 - 认证考试 - Cisco
CCNA(Stand-ALONE)Lab 8-Introduction to Interface configuration
来源:网络   作者:redking   更新时间:2010-09-26
收藏此页】    【字号    】    【打印】    【关闭

  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

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

  2. Type the command to enter interface configuration mode for Ethernet 0.

  Router1(config)#interface Ethernet 0

  Router1(config-if)#

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

  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

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

  5. Add a description for this interface.

  Router1(config-if)#description Ethernet interface on Router 1

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

  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

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

  7. Connect to Router 2, and assign it a host name of Router2.

  Router#conf t

  Router(config)#hostname Router2

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

  8. Now, access the Ethernet 0 interface, and enable the interface.

  Router2(config)#interface Ethernet 0

  Router2(config-if)#no shutdown

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

  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

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

  本文出自 “王乾De技术Blog” 博客,请务必保留此出处http://redking.blog.51cto.com/27212/71662

其它资源
来源声明

版权与免责声明
1、本站所发布的文章仅供技术交流参考,本站不主张将其做为决策的依据,浏览者可自愿选择采信与否,本站不对因采信这些信息所产生的任何问题负责。
2、本站部分文章来源于网络,其版权为原权利人所有。由于来源之故,有的文章未能获得作者姓名,署“未知”或“佚名”。对于这些文章,有知悉作者姓名的请告知本站,以便及时署名。如果作者要求删除,我们将予以删除。除此之外本站不再承担其它责任。
3、本站部分文章来源于本站原创,本站拥有所有权利。
4、如对本站发布的信息有异议,请联系我们,经本站确认后,将在三个工作日内做出修改或删除处理。
请参阅权责声明