免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
为思科交换机配置IP,组建小局域网:Switch(config)#interface vlan 1 /进入vlan1 默认vlan 进行管理Switch(config-if)#ip address ip_address subnet_mask /输入交换机IP和子网掩码Switch(config-if)#no shutdown /注意一定要输入这个命令才能使设置生效,激活设置Switch (config)#ip default-gateway ipaddress /设置默认网关实例:Switch(config)#interface vlan 1 Switch(config-if)#ip address 10.0.0.60 255.255.255.0Switch(config-if)#no shutdown Switch (config)#ip default-gateway 10.0.0.60PC1:设置10.0.0.61 netmask 255.255.255.0 gw 10.0.0.60PC2:设置 10.0.0.62 netmask 255.255.255.0 gw 10.0.0.60设置好后,就可以通过PC1 PING到 网关交换机 和 PC2 了。思科交换机配置telnetSwitch(config)# line vty0 4 /进入虚拟线程配置模式,在这个模式里可对/telnet功能进行配置Switch(config-line)# loginSwitch(config-line)# password XXX /配置telnet密码,默认的网络设备telnet的功能是关闭的,配了密码之后会自动打开Switch(config)# enable password XXX /配置进入enable模式的密码, 区分大小写Switch(config-line)# loginSwitch(config-line)# password XXX /配置进入用户模式的密码Switch#copy running-config startup-config /保存配置 -实例:Switch(config)# line vty0 4 Switch(config-line)# loginSwitch(config-line)# password 123 Switch(config)# enable password 123Switch(config-line)# loginSwitch(config-line)# password 123Switch#copy running-config startup-config 设置完成后可以通过PC1 10.0.0.61 连接交换机:PCtelnet 10.0.0.60Trying 10.0.0.60 .OpenUser Access VerificationPassword: SwitchenablePassword: Switch#sh ruBuilding configuration.Current configuration : 1157 bytes!version 12.1no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!enable password 123321!interface FastEthernet0/1 storm-control broadcast level 1!interface FastEthernet0/2 storm-control broadcast level 1!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1 ip address 10.0.0.
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年药学类考试题目及答案
- 2025年医院安全生产知识考核试题含答案
- 支气管炎常见症状及护理原则
- 语文阅读概括训练
- 小学语文老师面试攻略答题要点与常见问题解答
- 培训机构课程开发与师资队伍建设方案
- 2025广西河池国有产业投资发展集团有限公司紧缺人才招聘10人备考题库含答案详解(夺分金卷)
- 节目负责签约协议书
- 私人飞机转让协议书
- 电梯救助安全协议书
- 煤矿工人井下封闭心理建设
- 布拖县奔诚矿业有限责任公司12万吨-年交际河萤石矿开采项目环评报告
- 国家职业标准-电力电气设备安装工 (试行) (2024 年版)
- 2025春季学期国家开放大学专科《建筑制图基础》一平台在线形考(形考性考核作业一至四)试题及答案
- 租女友过年协议书
- (高清版)DG∕TJ 08-202-2020 钻孔灌注桩施工标准
- 政采云合同模板
- 2025年春季学期学校团委工作计划(附团委工作安排表)
- 水生态修复施工组织设计方案
- 新概念第一册Lesson63-64
- 临床教学方法
评论
0/150
提交评论