思科网络典型配置案例集锦(吐血推荐)

思科网络典型配置案例集锦(吐血推荐)

ID:12795646

大小:30.50 KB

页数:5页

时间:2018-07-19

思科网络典型配置案例集锦(吐血推荐)_第1页
思科网络典型配置案例集锦(吐血推荐)_第2页
思科网络典型配置案例集锦(吐血推荐)_第3页
思科网络典型配置案例集锦(吐血推荐)_第4页
思科网络典型配置案例集锦(吐血推荐)_第5页
资源描述:

《思科网络典型配置案例集锦(吐血推荐)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、思科网络典型配置案例集锦(吐血推荐)本人整理的部分配置方案,现在还不全,一直在努力中,我会不断更新2900XLVLANconfig  --------------------------------------------------------------------------------Switch#vlandatabaseSwitch(vlan)#vtpdomaindomain-nameSwitch(vlan)#vtpdomaindomain-namepasswordpassword-val

2、ueSwitch(vlan)#vtpserverSwitch(vlan)#showvtpstatus若想DisableVTP,只须将VTP模式改为transparent即Switch(vlan)#vtptransparent2.激活VTPV2(交换机默认的是VTPV1)。Switch#vlandatabaseSwitch(vlan)#vtpv2-modeSwitch#showvtpstatus3.增加VLAN。Catalyst2900XL系列交换机最大支持64个激活的VLAN,VLANID号从1-1

3、005。Switch#vlandatabaseSwitch(vlan)#vlanvlan-idnamevlan-nameSwitch#showvlannamevlan-nameSwitch(vlan)#novlanvlan-id//删除VLAN4.将端口加入VLAN。Switch#configureterminalSwitch(config)#interfaceinterfaceSwitch(config-if)#switchportmodeaccessSwitch(config-if)#switc

4、hportaccessvlanvlan-idSwitch(config-if)#showinterfaceinterface-idswitchport5.配置trunk端口。Switch#configureterminalSwitch(config)#interfaceinterfaceSwitch(config-if)#switchportmodetrunkSwitch(config-if)#switchporttrunkencapsulationislSwitch(config-if)#endS

5、witch#showinterfaceinterfaceswitchportSwitch#copyrunning-configstartup-config6.配置trunk上允许的VLAN。Switch(config)#interfaceinterfaceSwitch(config-if)#switchportmodetrunkSwitch(config-if)#switchporttrunkallowedvlanremovevlan-id-rangeSwitch(config-if)#switch

6、porttrunkallowedvlanaddvlan-id-rangeSwitch(config-if)#endSwitch#showinterfaceinterfaceswitchportallowed-vlan若想取消trunk端口,只需Switch(config-if)#noswitchportmode7.使用STP实现负载。实现负载分担有两种方法:1)使用端口优先级。配置:Switch_1(config-if)#interfacefa0/1Switch_1(config-if)#spann

7、ing-treevlan8910port-priority10Switch_1(config)#interfacefa0/2Switch_1(config-if)#spanning-treevlan3456port-priority102)使用路径值。例如:Switch_1(config)#interfacefa0/1Switch_1(config-if)#spanning-treevlan234cost30Switch_1(config)#interfacefa0/2Switch_1(config

8、-if)#spanning-treevlan8910cost30-----------------------------------CiscoHSRP的配置-----------------version12.0servicetimestampsdebuguptimeservicetimestampsloguptimenoservicepassword-encryptionhostnamer1enablepasswordciscoipsubnet-zerointer

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

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

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