新核心与旧核心两链路聚合,新核心默认路由到旧核心。新旧核心之间做VRRP,新核心为vlan101的主设备 ,接入交换机1 的网关:192.168.101.254 在新核心上,直接默认路由到新核心。现在如果把新旧之间的线路down了,接入交换机1没法通过另一根到旧核心去。pc7没法ping通1.1.1.1。如果线1DOWN了后,想让交换机1能自动走线3.但是交换机1的默认路由中新核心的,走线2上去。
(0)
新核心的配置的可以发一下吗
(0)
新核心配置: System View: return to User View with Ctrl+Z. [new-hexi]dis cu # version 7.1.075, Alpha 7571 # sysname new-hexi # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # ip unreachables enable ip ttl-expires enable # lldp global enable # system-working-mode standard xbar load-single password-recovery enable lpu-type f-series # vlan 1 # vlan 20 # vlan 30 # vlan 101 # vlan 255 # stp global enable # interface Bridge-Aggregation1 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 20 30 101 255 # interface NULL0 # interface Vlan-interface20 vrrp vrid 2 virtual-ip 192.168.20.254 # interface Vlan-interface101 ip address 192.168.101.254 255.255.255.0 vrrp vrid 1 virtual-ip 192.168.101.254 vrrp vrid 1 priority 120 # interface Vlan-interface255 ip address 10.10.255.2 255.255.255.0 # interface FortyGigE1/0/53 port link-mode bridge # interface FortyGigE1/0/54 port link-mode bridge # interface GigabitEthernet1/0/1 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 101 255 combo enable fiber # interface GigabitEthernet1/0/2 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 20 255 combo enable fiber # interface GigabitEthernet1/0/3 port link-mode bridge combo enable fiber # # interface Ten-GigabitEthernet1/0/50 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 20 30 101 255 combo enable fiber port link-aggregation group 1 # interface Ten-GigabitEthernet1/0/51 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 20 30 101 255 combo enable fiber port link-aggregation group 1 # user-role network-operator # ip route-static 0.0.0.0 0 10.10.255.1 # 交换机1配置: <vlan101-sw>dis cu # version 7.1.075, Alpha 7571 # sysname vlan101-sw # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # ip unreachables enable ip ttl-expires enable # lldp global enable # system-working-mode standard xbar load-single password-recovery enable lpu-type f-series # vlan 1 # vlan 101 # vlan 255 # stp global enable # nqa entry admin admin type icmp-echo # interface NULL0 # interface LoopBack3 ip address 3.3.3.3 255.255.255.255 # interface Vlan-interface255 ip address 10.10.255.101 255.255.255.0 # interface FortyGigE1/0/53 port link-mode bridge # interface FortyGigE1/0/54 port link-mode bridge # interface GigabitEthernet1/0/1 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 101 255 combo enable fiber # interface GigabitEthernet1/0/2 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 101 255 combo enable fiber # interface GigabitEthernet1/0/3 port link-mode bridge port access vlan 101 combo enable fiber # interface GigabitEthernet1/0/4 port link-mode bridge port access vlan 101 combo enable fiber # # ip route-static 0.0.0.0 0 10.10.255.2 ip route-static 0.0.0.0 0 10.10.255.1 #
新核心配置:
#
vlan 1
#
vlan 20
#
vlan 30
#
vlan 101
#
vlan 255
#
stp global enable
#
interface Bridge-Aggregation1
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 20 30 101 255
#
interface NULL0
#
interface Vlan-interface20
vrrp vrid 2 virtual-ip 192.168.20.254
#
interface Vlan-interface101
ip address 192.168.101.254 255.255.255.0
vrrp vrid 1 virtual-ip 192.168.101.254
vrrp vrid 1 priority 120
#
interface Vlan-interface255
ip address 10.10.255.2 255.255.255.0
#
interface FortyGigE1/0/53
port link-mode bridge
#
interface FortyGigE1/0/54
port link-mode bridge
#
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 101 255
combo enable fiber
#
interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 20 255
combo enable fiber
#
interface GigabitEthernet1/0/3
port link-mode bridge
combo enable fiber
#
interface Ten-GigabitEthernet1/0/50
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 20 30 101 255
combo enable fiber
port link-aggregation group 1
#
interface Ten-GigabitEthernet1/0/51
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 20 30 101 255
combo enable fiber
port link-aggregation group 1
#
#
ip route-static 0.0.0.0 0 10.10.255.1
交换机1配置:
<vlan101-sw>dis cu
#
version 7.1.075, Alpha 7571
#
sysname vlan101-sw
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 1
#
ip unreachables enable
ip ttl-expires enable
#
lldp global enable
#
system-working-mode standard
xbar load-single
password-recovery enable
lpu-type f-series
#
vlan 1
#
vlan 101
#
vlan 255
#
stp global enable
#
nqa entry admin admin
type icmp-echo
#
interface NULL0
#
interface LoopBack3
ip address 3.3.3.3 255.255.255.255
#
interface Vlan-interface255
ip address 10.10.255.101 255.255.255.0
#
interface FortyGigE1/0/53
port link-mode bridge
#
interface FortyGigE1/0/54
port link-mode bridge
#
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 101 255
combo enable fiber
#
interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 101 255
combo enable fiber
#
interface GigabitEthernet1/0/3
port link-mode bridge
port access vlan 101
combo enable fiber
#
interface GigabitEthernet1/0/4
port link-mode bridge
port access vlan 101
combo enable fiber
#
#
ip route-static 0.0.0.0 0 10.10.255.2
ip route-static 0.0.0.0 0 10.10.255.1
#
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
新核心配置: System View: return to User View with Ctrl+Z. [new-hexi]dis cu # version 7.1.075, Alpha 7571 # sysname new-hexi # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # ip unreachables enable ip ttl-expires enable # lldp global enable # system-working-mode standard xbar load-single password-recovery enable lpu-type f-series # vlan 1 # vlan 20 # vlan 30 # vlan 101 # vlan 255 # stp global enable # interface Bridge-Aggregation1 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 20 30 101 255 # interface NULL0 # interface Vlan-interface20 vrrp vrid 2 virtual-ip 192.168.20.254 # interface Vlan-interface101 ip address 192.168.101.254 255.255.255.0 vrrp vrid 1 virtual-ip 192.168.101.254 vrrp vrid 1 priority 120 # interface Vlan-interface255 ip address 10.10.255.2 255.255.255.0 # interface FortyGigE1/0/53 port link-mode bridge # interface FortyGigE1/0/54 port link-mode bridge # interface GigabitEthernet1/0/1 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 101 255 combo enable fiber # interface GigabitEthernet1/0/2 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 20 255 combo enable fiber # interface GigabitEthernet1/0/3 port link-mode bridge combo enable fiber # # interface Ten-GigabitEthernet1/0/50 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 20 30 101 255 combo enable fiber port link-aggregation group 1 # interface Ten-GigabitEthernet1/0/51 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 20 30 101 255 combo enable fiber port link-aggregation group 1 # user-role network-operator # ip route-static 0.0.0.0 0 10.10.255.1 # 交换机1配置: <vlan101-sw>dis cu # version 7.1.075, Alpha 7571 # sysname vlan101-sw # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # ip unreachables enable ip ttl-expires enable # lldp global enable # system-working-mode standard xbar load-single password-recovery enable lpu-type f-series # vlan 1 # vlan 101 # vlan 255 # stp global enable # nqa entry admin admin type icmp-echo # interface NULL0 # interface LoopBack3 ip address 3.3.3.3 255.255.255.255 # interface Vlan-interface255 ip address 10.10.255.101 255.255.255.0 # interface FortyGigE1/0/53 port link-mode bridge # interface FortyGigE1/0/54 port link-mode bridge # interface GigabitEthernet1/0/1 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 101 255 combo enable fiber # interface GigabitEthernet1/0/2 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 101 255 combo enable fiber # interface GigabitEthernet1/0/3 port link-mode bridge port access vlan 101 combo enable fiber # interface GigabitEthernet1/0/4 port link-mode bridge port access vlan 101 combo enable fiber # # ip route-static 0.0.0.0 0 10.10.255.2 ip route-static 0.0.0.0 0 10.10.255.1 #