欢迎来到天天文库
浏览记录
ID:40269813
大小:92.50 KB
页数:5页
时间:2019-07-30
《05 H3C MSTP+VRRP案例分析》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、VRRP实验:SW1的VRRP的配置:interfaceVlan-interface1ipaddress192.168.1.251255.255.255.0vrrpvrid1virtual-ip192.168.1.254vrrpvrid1priority120vrrpvrid1preempt-modetimerdelay30(延迟30秒抢占)vrrpvrid1trackinterfaceGigabitEthernet0/1/0reduced30SW2的VRRP的配置:interfaceVlan-interface1ipaddress192.168.1.252255.255.255.0vrrp
2、vrid1virtual-ip192.168.1.254vrrpvrid1preempt-mode(默认已开启抢占功能)查看:[sw1]dispvrrpverboseIPv4StandbyInformation:RunMode:StandardRunMethod:VirtualMACTotalnumberofvirtualrouters:1InterfaceVlan-interface1VRID:1AdverTimer:1AdminStatus:UpState:MasterConfigPri:120RunningPri:120PreemptMode:YesDelayTime:30AuthTy
3、pe:NoneVirtualIP:192.168.1.254VirtualMAC:0000-5e00-0101MasterIP:192.168.1.251VRRPTrackInformation:TrackInterface:GE0/1/0State:UpPriReduced:30案例分析:在H3C三层交换机上配置MSTP+VRRP一..配置VRRP,实现不同VLAN间的三层网关冗余及负均衡。VLAN1S36-1为活动网关,S36-2备用VLAN2S36-2为活动网关,S36-1备用二.配置MSTP,实现不同VLAN的二层冗余及负载均衡。VLAN1S36-1主根桥S36-2备用根桥VLAN2
4、S36-2主根桥S36-1备用根桥配置:一.网关冗余VRRP1.S36-1的配置。[S36-1]intvlan1ipadd172.16.1.199255.255.255.0vrrpvrid1virtual-ip172.16.1.200vrrpvrid1priority120成为1.200的活动网关vrrpvrid1preempt-mode启用抢占功能,默认已启用vrrpvrid1trackintG0/2reduced30跟踪G0 /2,down降30[S36-1]intvlan2ipadd172.16.2.199255.255.255.0vrrpvrid2virtual-ip172.16.2
5、.200vrrpvrid2priority100成为2.200的备用网关vrrpvrid2preempt-mode2.S36-2的配置。[S36-2]intvlan1ipadd172.16.1.201255.255.255.0vrrpvrid1virtual-ip172.16.1.200vrrpvrid1priority100成为1.200的备用网关[S36-2]intvlan2ipadd172.16.2.201255.255.255.0vrrpvrid2virtual-ip172.16.2.200vrrpvrid2priority120成为2.200的活动网关vrrpvrid2preemp
6、t-modevrrpvrid2preempt-modevrrpvrid2trackintG0/2reduced30跟踪G0 /2,DOWN降303.调试[S36-1]dispvrrpverbosedispvrrp[s36-1]dispvrrpverboseIPv4StandbyInformation:RunMethod:VIRTUAL-MACTotalnumberofvirtualrouters:1Interface:Vlan-interface1VRID:1Adver.Timer:1AdminStatus:UPState:MasterConfigPri:120RunPri:120Preem
7、ptMode:YESDelayTime:0AuthType:NONETrackIF:Vlan11PriReduced:30VirtualIP:192.168.1.200VirtualMAC:0000-5e00-0101MasterIP:192.168.1.199undovrrpvrid1authentication-modesimple123二.配置生成树MSTP。1.启用多生成树MST,并建立VLAN到实例
此文档下载收益归作者所有