版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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 Switc
2、h(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 /进入虚拟线程
3、配置模式,在这个模式里可对/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 /保
4、存配置 -实例: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 连接交换机:PC>telnet 10.0.0.60Trying 10.0.0.60 .OpenU
5、ser Access VerificationPassword: Switch>enablePassword: 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
6、 FastEthernet0/1storm-control broadcast level 1!interface FastEthernet0/2storm-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 Fas
7、tEthernet0/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 Vlan1ip address 10.0
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 甘肃省武威市第二中学 2027届物理高二第一学期期末学业质量监测试题含解析
- 2027届重庆市第一中学物理高三第一学期期中调研试题含解析
- 河南省洛阳市2027届高一物理第一学期期中检测模拟试题含解析
- 湘赣粤名校2027届高一物理第一学期期中联考试题含解析
- 刚柔并济:多羧酸稀土配位聚合物的合成、结构与性能探索
- 2027届贵州省乌江中学高二物理第一学期期末联考模拟试题含解析
- 2027届江西省五市八校协作体高二物理第一学期期中经典试题含解析
- 2027届江苏省常州市常州高级中学分校高三物理第一学期期中达标检测试题含解析
- 黑龙江省绥化市2027届物理高一第一学期期中综合测试模拟试题含解析
- 2027届广东省佛山市南海一中高二上物理期末联考模拟试题含解析
- 人教版(2024)七年级(全一册)体育与健康全册教案
- 原发性高血压课件
- 《0~18岁儿童精准营养补充指南》解读
- 《电气工程》课件
- DB11-T 1166-2024 城市轨道交通运营安全管理规范
- 《可见-近红外地物光谱仪》
- 统编版(2024年新版)七年级上册历史期末复习全册知识点提纲详细版
- TB 10012-2019 铁路工程地质勘察规范
- 《我家漂亮的尺子》课件-定稿
- 10000以内加减法混合竖式题
- 河北省社区工作者管理办法试行
评论
0/150
提交评论