欢迎来到天天文库
浏览记录
ID:12295240
大小:69.67 KB
页数:4页
时间:2018-07-16
《中兴vrrp+mstp配置指南》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、中兴VRRP+MSTP配置指南拓扑图注:应该按照这种方式连接设备拓扑说明:两台89做为核心,交换机上必须配置:VRRP、MSTP、静态路由指向防火墙;两台核心之间必须用心跳线连起来,最好是做smartgroup链路聚合,然后聚合端口使用TRUNK模式。配置实例例如,内网有2个业务VLAN,分别是VLAN10和VLAN20,上联防火墙的是VLAN100,假设防火墙的内网口地址是192.168.100.1。假设两台89之间都使用gei_1/23和gei_1/24口连接起来。8908-1配置(主):定义所有VLAN:conftvlan10nameyewu1exitvlan20nameyewu2e
2、xitvlan100nameto-firewallexit配置网关地址,做VRRP的所有网关地址,必须分配三个地址,其中两个地址是Intvlan的实际地址,一个是VRRP的浮动地址:intvlan10ipadd192.168.10.252255.255.255.0vrrp1ip192.168.10.254exitintvlan20ipadd192.168.20.252255.255.255.0vrrp2ip192.168.20.254exitintvlan100ipadd192.168.100.252255.255.255.0vrrp3ip192.168.100.254exit配置STP和
3、优先级:spanning-treeenablespanning-treemstinstance0priority0定义聚合端口smartgroup:interfacesmartgroup1exit把23和24加入聚合端口:interfacegei_1/23smartgroup1modeonexitinterfacegei_1/24smartgroup1modeonexit把聚合端口配置成trunk模式,并将所有VLAN透传:interfacesmartgroup1switchportmodetrunkswitchporttrunkvlan10switchporttrunkvlan20swi
4、tchporttrunkvlan100exit配置静态路由:iproute0.0.0.00.0.0.0192.168.100.18908-2配置(备):conftvlan10nameyewu1exitvlan20nameyewu2exitvlan100nameto-firewallexitintvlan10ipadd192.168.10.253vrrp1ip192.168.10.254exitintvlan20ipadd192.168.20.253vrrp2ip192.168.20.254exitintvlan100ipadd192.168.100.253vrrp3ip192.168.10
5、0.254exitspanning-treeenablespanning-treemstinstance0priority4096interfacesmartgroup1exitinterfacegei_1/23smartgroup1modeonexitinterfacegei_1/24smartgroup1modeonexitinterfacesmartgroup1switchportmodetrunkswitchporttrunkvlan10switchporttrunkvlan20switchporttrunkvlan100exitiproute0.0.0.00.0.0.0192.1
6、68.100.1按照上面的配置,任意关闭一台核心交换机,将不会影响用户上网。
此文档下载收益归作者所有