思科3560G交换机常用配置.doc

思科3560G交换机常用配置.doc

ID:53713190

大小:15.17 KB

页数:1页

时间:2020-04-06

思科3560G交换机常用配置.doc_第1页
资源描述:

《思科3560G交换机常用配置.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、思科3560G交换机常用配置一.配置telnet登陆账号和密码用串口线连上交换机Switch(config)#usernaSwitch(config)#usernameadminpasSwitch(config)#usernameadminpassword123Switch(config)#linevty04Switch(config-line)#loginlocalSwitch(config-line)#end%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleSwitch#w

2、r二.配特权密码Switch#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#enablepassword456三.划分vlanSwitch(config)#vlan10Switch(config-vlan)#intvlan10Switch(config-if)#%LINK-5-CHANGED:InterfaceVlan10,changedstatetoupSwitch(config-if)#ipadd192.168.10.

3、1255.255.255.0四.配dhcpSwitch(config)#ipdhcppoolvlan10Switch(dhcp-config)#network192.168.10.0255.255.255.0Switch(dhcp-config)#default-router192.168.10.1Switch(dhcp-config)#dns-server192.168.1.1Switch(dhcp-config)#五.划分端口Switch(config)#intrangefastEthernet0/1-5进入1-5

4、端口Switch(config-if-range)#switchportmodeaccess并把接口方式改为accessSwitch(config-if-range)#switchportaccessvlan10把1-5端口划vlan10Switch(config-if-range)#nosh六.配静态路由Switch(config)#iproute0.0.0.00.0.0.0192.168.10.2192.168.10.2是一跳地址七.配置完一定要保存Switch#wrBuildingconfiguration...

5、[OK]

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。