H3C 6506VRRP1.docx
《H3C 6506VRRP1.docx》由会员分享,可在线阅读,更多相关《H3C 6506VRRP1.docx(8页珍藏版)》请在冰豆网上搜索。
H3C6506VRRP1
讨论两台65作vrrp的案例
案例:
两台65通过千兆光纤互连,端口在vlan2下
上面接内部服务器(两台服务器作集群,每台服务器只和一台65相连),端口在vlan2下(单独一个vlan)
下面为每个楼层有一台交换机3026c通过两条光纤分别连到两台6506上,这样的楼层又5层
上联都是做的trunk,不同的楼层交换机可能有相同的vlan,每个vlan在不同的网段内
请朋友指导配置是否存在不妥之处!
谢谢!
~~
6506A
#
sysnames6506A
#
local-servernas-ip127.0.0.1keyhuawei
#
domaindefaultenablesystem
#
temperature-limit01070
temperature-limit21070
#
poepowermax-value2400
#
link-aggregationgroup1modemanual
#
vrrpping-enable
#
radiusschemesystem
primaryauthentication127.0.0.11645
primaryaccounting127.0.0.11646
user-name-formatwithout-domain
#
domainsystem
vlan-assignment-modeinteger
access-limitdisable
stateactive
idle-cutdisable
self-service-urldisable
messengertimedisable
#
stpTC-protectionenable
#
vlan1
#
vlan2
#
vlan3
#
vlan4
#
vlan5
#
vlan6
#
vlan7
#
vlan8
#
vlan9
#
vlan10
#
interfaceVlan-interface1
ipaddress172.16.100.1255.255.255.0
#
interfaceVlan-interface2
ipaddress172.16.1.254255.255.255.0
#
interfaceVlan-interface3
ipaddress172.16.2.2255.255.255.0
vrrpvrid3virtual-ip172.16.2.1
vrrpvrid3priority110
vrrpvrid3preempt-modetimerdelay2
#
interfaceVlan-interface4
ipaddress172.16.3.2255.255.255.0
vrrpvrid4virtual-ip172.16.3.1
vrrpvrid4priority110
vrrpvrid4preempt-modetimerdelay2
#
interfaceVlan-interface5
ipaddress172.16.4.2255.255.255.0
vrrpvrid5virtual-ip172.16.4.1
vrrpvrid5priority110
vrrpvrid5preempt-modetimerdelay2
#
interfaceVlan-interface6
ipaddress172.16.5.2255.255.255.0
vrrpvrid6virtual-ip172.16.5.1
vrrpvrid6priority110
vrrpvrid6preempt-modetimerdelay2
#
interfaceVlan-interface7
ipaddress172.16.6.2255.255.255.0
vrrpvrid7virtual-ip172.16.6.1
vrrpvrid7priority110
vrrpvrid7preempt-modetimerdelay2
#
interfaceVlan-interface8
ipaddress172.16.7.2255.255.255.0
vrrpvrid8virtual-ip172.16.7.1
vrrpvrid8priority110
vrrpvrid8preempt-modetimerdelay2
#
interfaceVlan-interface9
ipaddress172.16.8.2255.255.255.0
vrrpvrid9virtual-ip172.16.8.1
vrrpvrid9priority110
vrrpvrid9preempt-modetimerdelay2
#
interfaceVlan-interface10
ipaddress172.16.9.2255.255.255.0
vrrpvrid10virtual-ip172.16.9.1
vrrpvrid10priority110
vrrpvrid10preempt-modetimerdelay2
#
interfaceAux0/0/0
#
interfaceM-Ethernet0/0/0
#
interfaceGigabitEthernet0/0/1
#
interfaceGigabitEthernet0/0/2
#
interfaceGigabitEthernet0/0/3
#
interfaceGigabitEthernet0/0/4
#
interfaceGigabitEthernet2/0/1
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/2
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/3
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/4
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/5
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/6
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/7
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/8
portaccessvlan2
#
interfaceGigabitEthernet2/0/9
portaccessvlan2
#
interfaceGigabitEthernet2/0/10
portaccessvlan2
#
interfaceGigabitEthernet2/0/11
#
interfaceGigabitEthernet2/0/12
#
interfaceGigabitEthernet2/0/13
#
interfaceGigabitEthernet2/0/14
#
interfaceGigabitEthernet2/0/15
#
interfaceGigabitEthernet2/0/16
#
interfaceGigabitEthernet2/0/17
#
interfaceGigabitEthernet2/0/18
#
interfaceGigabitEthernet2/0/19
portaccessvlan2
portlink-aggregationgroup1
#
interfaceGigabitEthernet2/0/20
portaccessvlan2
portlink-aggregationgroup1
#
interfaceNULL0
#
ospf1
import-routedirect
area0.0.0.0
network172.16.1.00.0.0.255
#
snmp-agent
snmp-agentlocal-engineid800007DB000FE218CC346877
snmp-agentcommunityreadpublic
snmp-agentcommunitywriteyantai
snmp-agentsys-infoversionall
6506B
discu
#
sysnames6506B
#
local-servernas-ip127.0.0.1keyhuawei
#
domaindefaultenablesystem
#
temperature-limit01070
temperature-limit21070
#
poepowermax-value2400
#
link-aggregationgroup1modemanual
#
vrrpping-enable
#
radiusschemesystem
primaryauthentication127.0.0.11645
primaryaccounting127.0.0.11646
user-name-formatwithout-domain
#
domainsystem
vlan-assignment-modeinteger
access-limitdisable
stateactive
idle-cutdisable
self-service-urldisable
messengertimedisable
#
stpTC-protectionenable
#
vlan1
#
vlan2
#
vlan3
#
vlan4
#
vlan5
#
vlan6
#
vlan7
#
vlan8
#
vlan9
#
vlan10
#
interfaceVlan-interface1
ipaddress172.16.100.2255.255.255.0
#
interfaceVlan-interface2
ipaddress172.16.1.253255.255.255.0
#
interfaceVlan-interface3
ipaddress172.16.2.3255.255.255.0
vrrpvrid3virtual-ip172.16.2.1
vrrpvrid3priority110
#
interfaceVlan-interface4
ipaddress172.16.3.3255.255.255.0
vrrpvrid4virtual-ip172.16.3.1
vrrpvrid4priority110
#
interfaceVlan-interface5
ipaddress172.16.4.3255.255.255.0
vrrpvrid5virtual-ip172.16.4.1
vrrpvrid5priority110
#
interfaceVlan-interface6
ipaddress172.16.5.3255.255.255.0
vrrpvrid6virtual-ip172.16.5.1
vrrpvrid6priority110
#
interfaceVlan-interface7
ipaddress172.16.6.3255.255.255.0
vrrpvrid7virtual-ip172.16.6.1
vrrpvrid7priority110
#
interfaceVlan-interface8
ipaddress172.16.7.3255.255.255.0
vrrpvrid8virtual-ip172.16.7.1
vrrpvrid8priority110
#
interfaceVlan-interface9
ipaddress172.16.8.3255.255.255.0
vrrpvrid9virtual-ip172.16.8.1
vrrpvrid9priority110
#
interfaceVlan-interface10
ipaddress172.16.9.3255.255.255.0
vrrpvrid10virtual-ip172.16.9.1
vrrpvrid10priority110
#
interfaceAux0/0/0
#
interfaceM-Ethernet0/0/0
#
interfaceGigabitEthernet0/0/1
#
interfaceGigabitEthernet0/0/2
#
interfaceGigabitEthernet0/0/3
#
interfaceGigabitEthernet0/0/4
#
interfaceGigabitEthernet2/0/1
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/2
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/3
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/4
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/5
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/6
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/7
portlink-typetrunk
porttrunkpermitvlanall
#
interfaceGigabitEthernet2/0/8
portaccessvlan2
#
interfaceGigabitEthernet2/0/9
portaccessvlan2
#
interfaceGigabitEthernet2/0/10
portaccessvlan2
#
interfaceGigabitEthernet2/0/11
#
interfaceGigabitEthernet2/0/12
#
interfaceGigabitEthernet2/0/13
#
interfaceGigabitEthernet2/0/14
#
interfaceGigabitEthernet2/0/15
#
interfaceGigabitEthernet2/0/16
#
interfaceGigabitEthernet2/0/17
#
interfaceGigabitEthernet2/0/18
#
interfaceGigabitEthernet2/0/19
portaccessvlan2
portlink-aggregationgroup1
#
interfaceGigabitEthernet2/0/20
portaccessvlan2
portlink-aggregationgroup1
#
interfaceNULL0
#
ospf1
import-routedirect
area0.0.0.0
network172.16.1.00.0.0.255
#
snmp-agent
snmp-agentlocal-engineid800007DB000FE218CC346877
snmp-agentcommunityreadpublic
snmp-agentcommunitywriteyantai
snmp-agentsys-infoversionall