



免费预览已结束,剩余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年高级化工仪表维修工业务理论知识题库与答案
- 远程实时指导-洞察及研究
- 西藏养护工程管理办法
- bt项目公司管理办法
- 电气师属地管理办法
- 学校“1530”安全教育记录表(2024年秋季全学期)
- DL∕T 5776-2018 水平定向钻敷设电力管线技术规定
- (正式版)SH∕T 3548-2024 石油化工涂料防腐蚀工程施工及验收规范
- 康复护理学-康复评定认知功能评定
- 泰来2井三级井喷事故分解析
- 船舶常用英语名称
- 超市标准商品分类表
- 《导游业务》教案资料.docx
- 最全的食物相克表(打印版)
- 河南省科技版三年级劳动与技术上册教案
- 施工现场安全标志和安全防护设施设置方案
评论
0/150
提交评论