对于Cisco的交换机和路由器来讲

对于Cisco的交换机和路由器来讲

ID:38109479

大小:35.00 KB

页数:5页

时间:2019-05-25

对于Cisco的交换机和路由器来讲_第1页
对于Cisco的交换机和路由器来讲_第2页
对于Cisco的交换机和路由器来讲_第3页
对于Cisco的交换机和路由器来讲_第4页
对于Cisco的交换机和路由器来讲_第5页
资源描述:

《对于Cisco的交换机和路由器来讲》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、Catalyst3524 对于Cisco的交换机和路由器来讲,虽然其不同型号的交换机的实现命令上有着很多的相似之处,但是,不同的交换机命令格式的差异却为网络设备的配置带来了一定的不便,因此,本人根据手头的交换机,进行一些基本操作的命令介绍,同时也有具体的配置实例。希望对网友的实际工作和学习有所帮助。同时也很希望有机会与各位网友一起交流探讨!bluestudy_(都市渔人)Catalyst3524switchIP地址的配置直接进入默认的VLAN1中进行配置命令如下:interfaceVLAN1ipaddr

2、ess172.16.1.3255.255.0.0即可。在Catalyst中控制对Telnet的访问bluestudy_a(config)#access-list2permit172.16.0.00.0.255.255(定义标准的访问列表)bluestudy_a(config)#linevty015(进入telnet端口,最多允许16个telnet的会话)bluestudy_a(config-line)#access-class2in(应用上述定义的访问列表,即只有172.16.0.0/16的网段可以实现

3、对交换机的telnet会话设置交换机的enable密码bluestudy_a(config)#enablepasswordbluestudybluestudy_a(config)#enablesecretbluestudyTheenablesecretyouhavechosenisthesameasyourenablepassword.Thisisnotrecommended.Re-entertheenablesecret.注:对于如上的密码,secret的优先级更高,优先起作用。设置console口密

4、码bluestudy_a(config)#linecon0bluestudy_a(config-line)#passwordbluestudybluestudy_a(config-line)#设置对telnet的密码:bluestudy_a(config)#linevty015bluestudy_a(config-line)#loginbluestudy_a(config-line)#passwordbluestudybluestudy_a(config-line)#设置登陆用户名和密码:bluestu

5、dy_a(config)#usernamebluestudypasswordbluestudybluestudy_a(config)#bluestudy_a#showrunningCurrentconfiguration:!version12.0noservicepadservicetimestampsdebuguptimeservicetimestampsloguptimenoservicepassword-encryption!hostnamebluestudy_a!enablesecret5$1$

6、b1mb$p6XgV/PY9WqvJy9MrHZFG/enablepasswordbluestudy!usernamebluestudypassword0bluestudy!ipsubnet-zero!interfaceFastEthernet0/1!interfaceFastEthernet0/2!interfaceFastEthernet0/3!interfaceFastEthernet0/4!interfaceFastEthernet0/5!interfaceFastEthernet0/6!int

7、erfaceFastEthernet0/24!interfaceGigabitEthernet0/1!interfaceGigabitEthernet0/2!interfaceVLAN1ipaddress172.16.1.3255.255.0.0noipdirected-broadcastnoiproute-cache!access-list2permit172.16.0.00.0.255.255!linecon0passwordbluestudytransportinputnonestopbits1l

8、inevty04access-class2inpasswordbluestudyloginlinevty515access-class2inpasswordbluestudylogin!endbluestudy_a#channel配置portchannel与Spanningtree连接的区别bluestudy_a(config)#interfacefastEthernet0/1bluestudy_a(config-if)#portgroup

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

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

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