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


目录
打赏
0
0
0
0
101
分享
相关文章
技术干货 | 阿里云数据库PostgreSQL 13大版本揭秘
阿里云RDS PostgreSQL是一款兼容开源PostgreSQL的全托管云数据库产品,自2015年首次发布以来,根据用户需求不断升级迭代,已支持9.4、10、11、12等多个版本,覆盖了高可用版、基础版、只读实例等多种形态,数据存储覆盖了本地SSD、SSD云盘、 ESSD云盘等多种形态。最高配置可达104核,768G内存,32TB,100万IOPS。
7499 0
技术干货 | 阿里云数据库PostgreSQL 13大版本揭秘
kde
|
3天前
|
Docker镜像加速指南:手把手教你配置国内镜像源
配置国内镜像源可大幅提升 Docker 拉取速度,解决访问 Docker Hub 缓慢问题。本文详解 Linux、Docker Desktop 配置方法,并提供测速对比与常见问题解答,附最新可用镜像源列表,助力高效开发部署。
kde
1396 4
2025年最新版最细致Maven安装与配置指南(任何版本都可以依据本文章配置)
本文详细介绍了Maven的项目管理工具特性、安装步骤和配置方法。主要内容包括: Maven概述:解释Maven作为基于POM的构建工具,具备依赖管理、构建生命周期和仓库管理等功能。 安装步骤: 从官网下载最新版本 解压到指定目录 创建本地仓库文件夹 关键配置: 修改settings.xml文件 配置阿里云和清华大学镜像仓库以加速依赖下载 设置本地仓库路径 附加说明:包含详细的配置示例和截图指导,适用于各种操作系统环境。 本文提供了完整的Maven安装和配置
2025年最新版最细致Maven安装与配置指南(任何版本都可以依据本文章配置)
Dify MCP 保姆级教程来了!
大语言模型,例如 DeepSeek,如果不能联网、不能操作外部工具,只能是聊天机器人。除了聊天没什么可做的。
431 5
Excel数据治理新思路:引入智能体实现自动纠错【Python+Agent】
本文介绍如何利用智能体与Python代码批量处理Excel中的脏数据,解决人工录入导致的格式混乱、逻辑错误等问题。通过构建具备数据校验、异常标记及自动修正功能的系统,将数小时的人工核查任务缩短至分钟级,大幅提升数据一致性和办公效率。
Go语言实战指南 —— Go中的反射机制:reflect 包使用
Go语言中的反射机制通过`reflect`包实现,允许程序在运行时动态检查变量类型、获取或设置值、调用方法等。它适用于初中级开发者深入理解Go的动态能力,帮助构建通用工具、中间件和ORM系统等。
142 63
让AI时代的卓越架构触手可及,阿里云技术解决方案开放免费试用
阿里云推出基于场景的解决方案免费试用活动,新老用户均可领取100点试用点,完成部署还可再领最高100点,相当于一年可获得最高200元云资源。覆盖AI、大数据、互联网应用开发等多个领域,支持热门场景如DeepSeek部署、模型微调等,助力企业和开发者快速验证方案并上云。
211 16
让AI时代的卓越架构触手可及,阿里云技术解决方案开放免费试用
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等

登录插画

登录以查看您的控制台资源

管理云资源
状态一览
快捷访问