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 ,如需转载请自行联系原作者


相关文章
|
存储 JSON Kubernetes
KubeConfig
KubeConfig 是一个用于存储和管理 Kubernetes 集群配置文件的 JSON 格式文件。它包含了集群的详细信息,如 API 服务器地址、认证信息、命名空间等。KubeConfig 文件的主要作用是让用户能够轻松地在不同的 Kuberne
1109 1
|
人工智能 监控 数据可视化
什么是低代码开发平台?2025年最热门的10大低代码开发平台盘点!
低代码开发平台通过可视化拖拽、模型驱动等方式,大幅减少手工编码,提升应用开发效率。当下更是结合AI能力,自动生成应用,组件,图表,进一步加快应用软件的开发效率落地。
|
运维 安全 Shell
利用frp搭建公网Metasploit并使用Shellter实现简单木马免杀
利用frp搭建公网Metasploit并使用Shellter实现简单木马免杀
1052 0
利用frp搭建公网Metasploit并使用Shellter实现简单木马免杀
|
前端开发 JavaScript API
前端性能优化-控制并发
【9月更文挑战第7天】前端性能优化-控制并发
541 1
|
安全 API 数据安全/隐私保护
【安全每日一讲】API是什么?解密API背后的奥秘
API,全称Application Programming Interface,是预定义的函数集合,用于系统间数据传输和指令交互。API简化了应用程序间的数据共享,扩展功能,实现跨平台交互,并确保数据安全性。常见的API类型包括RESTful、SOAP、RPC、GraphQL等。API的优势在于降低开发难度,提升效率,促进数据共享,优化用户体验。广泛应用于社交网络、电商平台和金融领域。然而,API也面临认证授权、数据泄露和恶意攻击等安全问题,需采取HTTPS、OAuth2等12种方法保障安全。
|
消息中间件 分布式计算 Hadoop
kafaka单节点安装部署kafaka多节点安装部署
kafaka单节点安装部署kafaka多节点安装部署
534 3
|
PyTorch 算法框架/工具
已解决虚拟机yolov5报错:AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
已解决虚拟机yolov5报错:AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
1630 0
已解决虚拟机yolov5报错:AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
|
大数据
云立方HTTP代理推荐吗?不同类型代理适用的业务是什么?
随着互联网大数据的应用,HTTP代理也逐渐被大家所熟知应用,HTTP代理服务商也层出不穷,用了这许多年的HTTP代理,很容易就发现这个问题:大家对HTTP代理产品各种名称没有一个统一的标准
|
Java Maven
IDEA-使用IDEA创建maven多模块父子工程
IDEA-使用IDEA创建maven多模块父子工程
659 0