思科网络典型配置案例

思科网络典型配置案例

ID:36861655

大小:367.06 KB

页数:46页

时间:2019-05-16

思科网络典型配置案例_第1页
思科网络典型配置案例_第2页
思科网络典型配置案例_第3页
思科网络典型配置案例_第4页
思科网络典型配置案例_第5页
资源描述:

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

1、!思科网络典型配置案例集锦2900XLVLANconfig--------------------------------------------------------------------------------Switch#vlandatabaseSwitch(vlan)#vtpdomaindomain-nameSwitch(vlan)#vtpdomaindomain-namepasswordpassword-valueSwitch(vlan)#vtpserverSwitch(vlan)#showvtpstatus若想DisableVTP,只须将VTP模式改为transpare

2、nt即Switch(vlan)#vtptransparent2.激活VTPV2(交换机默认的是VTPV1)。Switch#vlandatabaseSwitch(vlan)#vtpv2-modeSwitch#showvtpstatus3.增加VLAN。Catalyst2900XL系列交换机最大支持64个激活的VLAN,VLANID号从1-1005。Switch#vlandatabaseSwitch(vlan)#vlanvlan-idnamevlan-nameSwitch#showvlannamevlan-nameSwitch(vlan)#novlanvlan-id//删除VLAN4.将端

3、口加入VLAN。Switch#configureterminalSwitch(config)#interfaceinterfaceSwitch(config-if)#switchportmodeaccessSwitch(config-if)#switchportaccessvlanvlan-idSwitch(config-if)#showinterfaceinterface-idswitchport5.配置trunk端口。Switch#configureterminalSwitch(config)#interfaceinterfaceSwitch(config-if)#switchpo

4、rtmodetrunkSwitch(config-if)#switchporttrunkencapsulationislSwitch(config-if)#endSwitch#showinterfaceinterfaceswitchportSwitch#copyrunning-configstartup-config6.配置trunk上允许的VLAN。Switch(config)#interfaceinterfaceSwitch(config-if)#switchportmodetrunkSwitch(config-if)#switchporttrunkallowedvlanremov

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

6、eevlan8910port-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-if)#spanning-treevlan8910cost30------------------

7、-----------------CiscoHSRP的配置-----------------version12.0servicetimestampsdebuguptimeservicetimestampsloguptimenoservicepassword-encryption!hostnamer1!enablepasswordcisco!ipsubnet-zero!!!!interfaceEthernet0ipaddress136.147.1

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

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

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