欢迎来到天天文库
浏览记录
ID:10872471
大小:349.25 KB
页数:0页
时间:2018-07-08
《vtp+stp+hsrp综合配置实例》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、VTP+STP+HSRP综合配置实例路由基本配置接口配置conftintf0/0ipadd1.1.1.1255.255.255.0noshuintf1/0ipadd2.2.2.1255.255.255.0noshuintloopback1ipadd3.3.3.1255.255.255.0noshuendrip路由协议配置conftrouterripver2noautonetwork1.1.1.0network2.2.2.0network3.3.3.0end三层交换机S3Aconftvlandatavtpd
2、omainshvtppassword123456vtpv2-modevtppruningvl2vl3vl4exitconftintf0/0noswitchport/将接口改成路由口ipadd1.1.1.254255.255.255.0noshuintvl1ipadd192.168.1.254255.255.255.0intvl2ipadd192.168.2.254255.255.255.0intvl3ipadd192.168.3.254255.255.255.0intvl4ipadd192.168.4.2
3、54255.255.255.0noshuendconftspanning-treevlan1rootprimary/配置S3A为VLAN1的主根网桥spanning-treevlan2rootsecondary/配置S3A为VLAN2的备份根网桥spanning-treevlan3rootprimary/配置S3A为VLAN3的主根网桥spanning-treevlan4rootsecondary/配置S3A为VLAN4的备份根网桥spanning-treebackbonefast/增强生成树intf0/
4、11swmotrintf0/12swmotrintf0/13swmotrintrangef0/14-15channel-group1modeon/将F0/14-15逻辑捆绑为一个以太网接口intport-channel1swmotrendconftrouterripver2noautonetwork1.1.1.0network192.168.1.0network192.168.2.0network192.168.3.0network192.168.4.0end配置HSRPconftintvl1standb
5、y1ip192.168.1.1standby1priority180standby1preemptstandby1trackf0/050intvl2standby2ip192.168.2.1standby2priority150intvl3standby3ip192.168.3.1standby3priority180standby3preemptstandby3trackf0/050intvl4standby4ip192.168.4.1standby4priority150end三层交换机S3Bvtp与
6、vlan的配置vlandatavtpdomainshvtppassword123456vtpv2-modevtppruningvl2vl3vl4exitconftintf0/0noswitchport/将接口改成路由口ipadd2.2.2.254255.255.255.0noshuintvl1ipadd192.168.1.253255.255.255.0noshuintvl2ipadd192.168.2.253255.255.255.0noshuintvl3ipadd192.168.3.253255.25
7、5.255.0noshuintvl4ipadd192.168.4.253255.255.255.0noshuendconftspanning-treevlan1rootsecondary/配置S3B为VLAN1的备份根网桥spanning-treevlan2rootprimary/配置S3B为VLAN1的主根网桥spanning-treevlan3rootsecondary/配置S3B为VLAN1的备份根网桥spanning-treevlan4rootprimary/配置S3B为VLAN1的主根网桥spa
8、nning-treebackbonefast/增强生成树intf0/11swmotrintf0/12swmotrintf0/13swmotrintrangef0/14-15channel-group1modeonintport-channel1swmotrendconftrouterripver2noautonetwork2.2.2.0network192.168.1.0network192.168.2.0network192
此文档下载收益归作者所有