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

简介:
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
*************************************************************



本文转自redking51CTO博客,原文链接:http://blog.51cto.com/redking/71662 ,如需转载请自行联系原作者


相关文章
|
网络协议 算法 网络架构
计算机网络 | 网络层知识点汇总-3
计算机网络 | 网络层知识点汇总
144 0
|
SQL 存储 安全
技术干货 | 阿里云数据库PostgreSQL 13大版本揭秘
阿里云RDS PostgreSQL是一款兼容开源PostgreSQL的全托管云数据库产品,自2015年首次发布以来,根据用户需求不断升级迭代,已支持9.4、10、11、12等多个版本,覆盖了高可用版、基础版、只读实例等多种形态,数据存储覆盖了本地SSD、SSD云盘、 ESSD云盘等多种形态。最高配置可达104核,768G内存,32TB,100万IOPS。
7523 0
技术干货 | 阿里云数据库PostgreSQL 13大版本揭秘
|
19天前
|
人工智能 JavaScript 前端开发
实战使用 Qwen3-coder 低代码开发 HTML 个人网站
阿里巴巴开源的Qwen3-coder模型,凭借强大性能和低代码能力,助力用户快速搭建个人网站。本文详解环境配置、提示词设计与部署流程,适合编程新手快速上手,掌握AI辅助开发技能。
1295 8