下载此文档

网络工程师-路由器交换机相关配置精华大全.doc


文档分类:IT计算机 | 页数:约23页 举报非法文档有奖
1/23
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/23 下载此文档
文档列表 文档介绍
思科2950交换机相关配置基本操作2950(config)#intvlan12950(config-if)#(VLAN1里面设置IP地址)2950(config)#ipdefault-(设置默认网关)2950(config)#ipname-(设置域名服务器)2950(config)#ipdomain-(设置域名)端口配置2950(config)#intf0/1(进入接口)2950(config-if)#speed100(设置该接口速率为100Mb/s)2950(config-if)#duplex?autoEnableAUTOduplexconfigurationfullForcefullduplexoperationhalfForcehalf-duplexoperation2950(config-if)#descriptionto_router12950(config-if)#descriptionto_router1(设置端口描述)2950#1[status](查看端口配置结果和状态)MAC地址表相关命令2950(config)#mac-address-tableaging-time100(设置超时时间为100S)2950(config)#mac-address-(加入永久地址)2950(config)#mac-address-(加入静态地址)2950#showmac-address-table(查看整个MAC地址表)2950#clearmac-address-tablerestrictedstatic(清除限制性MAC址表)VTP的配置2950#vlandatabase(进入VLAN配置模式)2950(vlan)#vtp?(查看VTP的子命令)(vlan)#vtpdomainserver(设置本交换机为SEVER模式)2950(vlan)#vtpdomainwqs(设置域名)2950(vlan)#vtppruning(启动修剪模式)2950#showvtpstatus(查看VTP设置信息)配置VLANTRUNK端口2950(config)#intf0/11(进入F端口)2950(config-if)#switchportmodetrunk(设置该端口为TRUNK模式)2950(config-if)#switchporttrunkencapsulation{dot1q|isl|negotiate}(设置TRUNK封装)创建VLAN2950#vlandatabase(进入VLAN配置模式)2950(vlan)#vlan2(创建VLAN2)VLAN2added:Name:VLAN0002(系统默认名)2950(vlan)#vlan3namewg_bisheng(创建VLAN3,名为网工必胜)VLAN3added:Name:wg_bisheng2950(config)#intf0/9(进入接口配置模式)2950(config-if)#ess(ESS模式)2950(config-if)#essvlan2(把端口9分配给VLAN2)2950(config-if)#intf0/82950(config-if)#ess2950(config-if)#essvlan32950(config-if)#生成树协议的配置生成树负载均衡实现方法(感谢黑客天使提醒)使用STP端口权值实现。使用STP路径值实现2950(config)#intf0/112950(config-if)#spanning-treevlan2port-priority10(将VLAN2的端口权值设为10)2950(config-if)#spanning-treevlan2cost30(设置VLAN2生成树路径值为30)路由器的一些设置静态路由:Router(config)#work-mask{next-hop-ip|interface}[distance]Router(config)#

网络工程师-路由器交换机相关配置精华大全 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数23
  • 收藏数0 收藏
  • 顶次数0
  • 上传人ayst8776
  • 文件大小127 KB
  • 时间2019-03-12