- 1、本文档共7页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
网络技术常用配置命令
常用配置命令 CLI的五种模式 五种模式的进入与退出 1.进入: Red_Giantenable !当前模式是用户模式,输入enable进入特权模式 Password:xcxy2006 !密码验证 Red_Giant#configure terminal !当前模式是特权模式,输入configure terminal进入全局配置模式 Red_Giant(config)#hostname RouterA !更改主机名 RouterA (config)#interface fastethernet 1/1 !接口配置模式 RouterA (config-if)# ip address 192.168.0.1 255.255.255.0 !为路由器接口配置ip地址 switch(config)#vlan 10 !vlan配置模式 在交换机上创建vlan 2.退出: disable !从特权模式退到用户模式 end !从当前状态退到特权模式 exit !从当前状态退到上一级,一次只能退一级 接口名字的命名: 交换机:fastethernet 0/1-24 路由器:以太网口: fastethernet 1/1-2 广域网口:serial 1/1-2 * Red-Giant (config-vlan)# vlan配置模式 Red-Giant (config-if)# 接口配置模式 Red-Giant (config)# 全局配置模式 Red-Giant# 特权模式 Red-Giant 用户模式 特征 模式 实验步骤1: switch#configure terminal !进入全局模式 switch(config)# vlan 10 !创建vlan 10 switch(config-vlan)# name test10 !改名为test10 Switch(config)#vlan 20 !创建vlan 20 Switch(config-vlan)# name test20 !改名为test20 验证测试 Switch#show vlan !显示vlan配置 步骤2:将接口分配到vlan. Switch(config-if)# interface fastethernet 0/5 !进入f0/5 的接口配置模式 Switch(config-if)#switchport access vlan 10 !将f0/5 端口加入vlan 10中。 Switch(config-if)#interface range fastethernet 0/6-10 !进入f0/6 的接口配置模式 Switch(config-if)#switchport access vlan 20 !将f0/6 端口加入vlan 20中。 验证测试 :Switch#show vlan * * * Purpose: This figure introduces students to routing. The router must accomplish the items listed in the figure for routing to occur. Emphasize: Path determination occurs at Layer 3, the network layer. The path determination function enables a router to evaluate the available paths to a destination and to establish the best path. Routing services use network topology information when evaluating network paths. This information can be configured by the network administrator (static routes) or collected through dynamic processes (routing protocols) running in the network. Transition: How do you represent the path to the packet’s destination?
您可能关注的文档
最近下载
- 《市级国土空间生态修复规划编制指南》.pdf
- 坠床跌倒护理持续质量改进ppt.pptx
- 英语新闻ppt(含讲稿).pptx VIP
- 感觉信息处理及自我调节能力检核表Sensoryprocessingandself-regulationchecklist,SPSRC.docx
- 做守纪知纪明纪的模范.pptx VIP
- 餐厅服务方案.docx VIP
- 苏教版三年级数学上册知识点整理.docx VIP
- 【微专题】2014-2024高考语文文言文挖空训练( I 卷、II 卷、甲卷、乙卷)教师版.doc VIP
- 公司安全事故隐患内部举报、报告奖励制度范本.docx
- 第一单元《中国共产党的领导》练习题试题含答案.docx VIP
文档评论(0)