欢迎来到天天文库
浏览记录
ID:49747257
大小:182.50 KB
页数:18页
时间:2020-03-04
《双核心HSRP配置案例.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、发表于 2011-4-1718:33
2、 来自 51CTO网页[只看他]7#20110415_d7f9964633cd6c487ceeNTF8mcN27CXh.jpg(45.01KB)2011-4-1718:331交换机之间进行连接,使用Trunk模式,以便于相同vlan在不同交换机上通信和配置vtp域,减少vlan的配置,易于管理SW1-----------------------------intg0/1switchportmodedynamicdesirable //端口采用动态期望模式,即主动模式,如果对端
3、端口同样是动态期望或者Trunk模式的话,则工作模式都为Trunk模式exitintg0/2switchportmodedynamicdesirable exitintg0/3switchportmodedynamicdesirable exitintg0/4switchportmodedynamicdesirable exitintg0/5switchportmodedynamicdesirable exit//showintg0/1switchport检查端口是否为Trunk模式-------------
4、-----------------------------SW2intg0/1switchportmodedynamicdesirable exitintg0/2switchportmodedynamicdesirable exitintg0/3switchportmodedynamicdesirable exitintg0/4switchportmodedynamicdesirable exitintg0/5switchportmodedynamicdesirable exit--------------
5、-------------------SW3intrangeg0/1-4switchportmodetrunkexit--------------------------------SW4intrangeg0/1-4switchportmodetrunkexit--------------------------------------SW5intg0/3switchportmodetrunkexit--------------------------------------SW6intg0/4switchportm
6、odetrunkexit--------------------------------------SW7intg0/3switchportmodetrunkexit--------------------------------------SW8intg0/4switchportmodetrunkexit-------------------------------------------------------------------------------------------2端口Trunk之后,配置vtp
7、域,并开启vtp修剪,减少不必要的广播流量,也可以直接进入Trunk模式的端口模式,对从被端口允许通过的vlan进行限制.//intg0/1//switchporttrunkallowedvlanremove1//1是vlan号,默认是允许所有vlan的数据通过-----------------------------------SW1在全局配置模式下vtpdomaincisco//配置vtp域名vtpmodeserver//设置vtp模式为服务器模式,还可以设置vtp域的密码.可选,设置的话,只有其它交换机上也设置
8、了密码,并正确的话,才能同步学习到vlan的配置.vtppruning-----------------------------------SW2vtpdomainciscovtpmodeclientvtppruning-----------------------------------SW3vtpdomainciscovtpmodeclientvtppruning-----------------------------------SW4vtpdomainciscovtpmodeclientvtppruning-
9、----------------------------------SW5vtpdomainciscovtpmodeclientvtppruning-----------------------------------SW6vtpdomainciscovtpmodeclientvtppruning------------------------
此文档下载收益归作者所有