欢迎来到天天文库
浏览记录
ID:46734379
大小:1.57 MB
页数:90页
时间:2019-11-27
《技能大赛培训》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、交换机基础配置enable密码switch#configterminal//全局配置模式switch(Config)#enablepasswordleveladminCurrentpassword://原密码为空,直接回车Newpassword:*****//输入密码Confirmnewpassword:*****switch(Config)#exitswitch#write设备版本不同,型号不同,enable密码设置方式有所区别DCRS-5650-28(config)#enablepassword8digitalchina恢复交换机的出厂设置s
2、witch#setdefault//使用setdefault命令Areyousure?[Y/N]=y//是否确认?switch#write//清空startup-config文件switch#showstartup-config//显示当前的startup-config文件Thisisfirsttimestartupsystem.//系统提示此启动文件为出厂默认配置switch#reload//重新启动交换机Processwithreboot?[Y/N]y//开启webDCS-3926S#configDCS-3926S(Config)#iphtt
3、pserverDCS-3926S(Config)#web-userkoppassword01234备份配置文件switch#copystartup-configtftp://192.168.1.101/startup1Confirm[Y/N]:ybegintosendfile,wait...filetransferscomplete.closetftpclient.switch#设置TELNET三层交换机(config)#telnet-serverenable(config)#telnet-useraapassword7aa(config)#in
4、tvlan1(Config-if-vlan1)#ipadd10.0.0.1路由器基础设置Enable密码Router_config#aaaauthenticationenabledefaultenableRouter_config#enablepassaaa恢复出厂设置Router#deletethisfilewillbeerased,areyousure?(y/n)yrouter#dirDirectoryof/:3dcr2626-133g.bin5224766TueJan100:07:392002freespace3129344Ro
5、uter#路由器的基础配置1、查看flash内容r1#dir2、删除Startup-config文件r1#delete3、配置telnet服务r1_config#usernamedcnupassworddcnur1_config#aaaauthenticationloginclasslocalr1_config#linvty04r1_config_line#loginauthenticationclassVLAN创建VLANSwitch(Config)#vlan2//创建vlan2Switch(Config-vlan)#namejiaoyan//
6、为vlan命名Switch(Config-vlan)#exit//退出将端口加入vlanSwitch(Config)#interfacee0/0/1//进入端口Switch(Config-ethernet0/0/1)#switchportaccessvlan2//将端口加入到vlan2中Showvlan输出理解VLANNameTypeMediaPorts---------------------------------------------------------------------------1defaultStaticENETEther
7、net0/0/1Ethernet0/0/2Ethernet0/0/3Ethernet0/0/4Ethernet0/0/5Ethernet0/0/6Ethernet0/0/7Ethernet0/0/8Ethernet0/0/9Ethernet0/0/10Ethernet0/0/11Ethernet0/0/12Ethernet0/0/13Ethernet0/0/14100VLAN0100StaticENET!已经创建了vlan100,vlan100中没有端口;200VLAN0200StaticENET!已经创建了vlan200,vlan200中没有端
8、口;trunk设置trunkSwitch(Config-ethernet0/0/1)#switchportmodetrunk//将端口设
此文档下载收益归作者所有