欢迎来到天天文库
浏览记录
ID:22552627
大小:66.00 KB
页数:7页
时间:2018-10-30
《按图索骥初始配置cisco ws》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、按图索骥初始配置CISCOWS ode. xy_c2950t24_e0201(config)#vtpdomainxyass 设置vtp域名(只有域名相同的情况下,vlan信息才能透传过来) Domainnamealreadysettoxyass. xy_c2950t24_e0201(config)#end 退到根目录 xy_c2950t24_e0201#consolebyconsole Buildingconfiguration... [OK] (保存好了,已经生效) 以上就是全部设置过程。 以下是查看当前设备的配置: xy_c2950t24_e
2、0201#shoestampsdebuguptime servicetimestampsloguptime123下一页友情提醒:,特别!noservicepassexy_c2950t24_e0201 ! enablepassodepvst nospanning-treeoptimizebpdutransmission spanning-treeextendsystem-id ! ! ! ! interfaceFastEther0/1 sodeaccess ! interfaceFastEther0/2 sodeaccess ! interface
3、FastEther0/3 sodeaccess ! interfaceFastEther0/4 sodeaccess ! interfaceFastEther0/5 sodeaccess ! interfaceFastEther0/6 sodeaccess ! interfaceFastEther0/7 sodeaccess ! interfaceFastEther0/8 sodeaccess ! interfaceFastEther0/9 sodeaccess ! interfaceFastEther0/10 sodeaccess
4、 ! interfaceFastEther0/11 sodeaccess ! interfaceFastEther0/12 sodeaccess ! interfaceFastEther0/13 sodeaccess ! interfaceFastEther0/14 sodeaccess ! interfaceFastEther0/15 sodeaccess ! interfaceFastEther0/16 sodeaccess ! interfaceFastEther0/17 sodeaccess ! interfaceFastEt
5、her0/18 sodeaccess ! interfaceFastEther0/19 sodeaccess ! interfaceFastEther0/20 sodeaccess ! interfaceFastEther0/21 sodeaccess ! interfaceFastEther0/22 sodeaccess ! interfaceFastEther0/23 sodeaccess ! interfaceFastEther0/24 sodeaccess ! interfaceGigabitEther0/1 sodetrun
6、k ! interfaceGigabitEther0/2 sodetrunk ! interfaceVlan1 ipaddress172.25.161.22255.255.255.0 noiproute-cache ! ipdefault-gateway172.25.161.16 iphttpserver ! linecon0 linevty04 passwordCisco! login linevty515 login ! ! end 几个常用的查看命令: showrunning-config
7、查看当前配置 showvtpstatus 查看当前vtp状态 showcdpnei 查看当前邻居属性 showvlan 上一页123下一页友情提醒:,特别!查看vlan信息 删除配置信息的命令,用于不需要旧的配置,希望全部清空信息,重新配置 writeerase 删除所有配置信息(小心!)上一页123友情提醒
此文档下载收益归作者所有