四台6530做2個數據中心的ED,配了m-lag,然後根據官網文檔配置了EVPN數據中心互聯支持M-LAG,但是通過display evpn auto-discovery macip-prefix,看不到任何回顯,VXLAN的隧道也沒建立,VXLAN DCI的隧道也沒建立。兩個數據中心間的ED口字型互聯。
下麵是其中一台設備的配置
version 7.1.070, Release 8307P60
#
sysname ZHNJ_DCI_SW6530_3
#
ip vpn-instance Keepalive
#
address-family ipv4
#
irf mac-address persistent always
irf auto-update enable
irf auto-merge enable
undo irf link-delay
irf member 1 priority 1
#
vxlan tunnel mac-learning disable
#
ospf 100 router-id 100.65.244.3
silent-interface all
undo silent-interface Route-Aggregation100.4093
undo silent-interface Ten-GigabitEthernet1/0/46
preference 110
preference ase 110
bandwidth-reference 40000
graceful-restart ietf global
area 0.0.0.0
network 100.65.161.1 0.0.0.0
network 100.65.161.9 0.0.0.0
network 100.65.244.3 0.0.0.0
network 100.65.245.3 0.0.0.0
#
lldp global enable
#
vlan 1
#
stp port-log instance 0 to 4094
stp port-log vlan 1 to 4094
stp global enable
#
l2vpn enable
vxlan tunnel arp-learning disable
evpn m-lag group 100.65.245.3
#
vsi HLW_11.0.216.0/24
description hulianwang_WEB
vxlan 855
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi HLW_11.0.221.0/24
description hulianwang_WEB
vxlan 853
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi HLW_11.0.222.0/24
description hulianwang_WEB
vxlan 852
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.121.0/24
description kaifaceshifuwuqi_DE
vxlan 121
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.122.0/24
description kaifaceshifuwuqi_DE
vxlan 122
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.123.0/24
description kaifaceshifuwuqi_DE
vxlan 123
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.124.0/24
description kaifaceshifuwuqi_DE
vxlan 124
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.125.0/24
description kaifaceshifuwuqi_DE
vxlan 125
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.126.0/24
description kaifaceshifuwuqi_DE
vxlan 126
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.127.0/24
description kaifaceshifuwuqi_DE
vxlan 127
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.128.0/24
description kaifaceshifuwuqi_DE
vxlan 128
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.129.0/24
description kaifaceshifuwuqi_DE
vxlan 129
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.130.0/24
description kaifaceshifuwuqi_DE
vxlan 130
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.131.0/24
description kaifaceshifuwuqi_DE
vxlan 131
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.132.0/24
description kaifaceshifuwuqi_DE
vxlan 132
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.133.0/24
description kaifaceshifuwuqi_DE
vxlan 133
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.134.0/24
description kaifaceshifuwuqi_DE
vxlan 134
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.135.0/24
description kaifaceshifuwuqi_DE
vxlan 135
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.136.0/24
description kaifaceshifuwuqi_DE
vxlan 136
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.137.0/24
description kaifaceshifuwuqi_DE
vxlan 137
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi KFCS_11.8.138.0/24
description kaifaceshifuwuqi_DE
vxlan 138
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.100.0/24
description xinchuangfuwuqi
vxlan 100
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.101.0/24
description xinchuangfuwuqi_shujuku
vxlan 101
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.102.0/24
description lianxiangwangpanfuwuqi
vxlan 102
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.108.0/24
description neibubangongfuwu_yukong_fangbingdu
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.109.0/24
description wuxiankongzhiqi
vxlan 109
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.110.0/24
description bangongfuwuqi_yukong
vxlan 110
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.119.0/24
description SASfuwuqi
vxlan 209
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.120.0/24
description bangongfuwuqi_MOA
vxlan 201
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.121.0/24
description bangongfuwuqi
vxlan 204
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.160.0/24
description shipinhuiyifuwuqi
vxlan 160
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.96.0/24
description bangongfuwuqiqu_neibubangong
vxlan 202
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi OA_11.0.97.0/24
description bangongfuwuqiqu_neibubangong
vxlan 203
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi YWGL_11.0.16.0/24
description yunweiguanliqu_fuwuqidaiwai
vxlan 199
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi YWGL_11.0.17.0/24
description yunweiguanliqu_fuwuqidaiwai
vxlan 297
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi YWGL_11.0.18.0/24
description yunweiguanliqu_fuwuqidaiwai
vxlan 296
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi YWGL_11.0.19.0/24
description yunweiguanliqu_fuwuqidaiwai
vxlan 298
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi YWGL_11.0.8.0/24
description yunweiguanliqu_ECC
vxlan 299
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi YWGL_11.0.9.0/24
description yunweiguanliqu_fuwuqi
vxlan 295
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
vsi YW_11.0.162.0/24
description zongheyewu_xinkefu
vxlan 162
evpn encapsulation vxlan
route-distinguisher auto
vpn-target auto export-extcommunity
vpn-target auto import-extcommunity
#
interface Bridge-Aggregation200
description TO ZHNJ_DCI_SW6530_4_peerlink
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 4094
link-aggregation mode dynamic
port m-lag peer-link 1
undo mac-address static source-check enable
#
interface Route-Aggregation100
description Keepalive
link-aggregation mode dynamic
#
interface Route-Aggregation100.4093
description TO ZHNJ_DCI_SW6530_4
ip address 100.65.161.9 255.255.255.252
ospf authentication-mode md5 1 cipher $c$3$Kuy669R/zTnvNAVTPPvjiRcD3WPtJz8sX0LAqRZE
ospf network-type p2p
ospf bfd enable
bfd detect-multiplier 3
bfd min-control-interval 200
#
interface Route-Aggregation100.4094
description TO ZHNJ_DCI_SW6530_4 keepalive
ip binding vpn-instance Keepalive
ip address 1.1.1.1 255.255.255.252
#
interface NULL0
#
interface LoopBack0
ip address 100.65.244.3 255.255.255.255
#
interface LoopBack1
ip address 100.65.245.3 255.255.255.255
#
interface Vlan-interface1
ip address dhcp-alloc
dhcp client identifier ascii 1c9468489a32-VLAN0001
ipv6 address dhcp-alloc
ipv6 dhcp client duid ascii 1c9468489a32-VLAN0001
#
interface HundredGigE1/0/49
port link-mode bridge
#
interface HundredGigE1/0/50
port link-mode bridge
#
interface HundredGigE1/0/51
port link-mode bridge
#
interface HundredGigE1/0/52
port link-mode bridge
#
interface HundredGigE1/0/53
port link-mode bridge
#
interface HundredGigE1/0/54
port link-mode bridge
#
interface HundredGigE1/0/55
port link-mode bridge
description To ZHNJ_DCI_SW6530_4 HGE1/0/55
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 4094
lacp period short
port link-aggregation group 200
#
interface HundredGigE1/0/56
port link-mode bridge
description To ZHNJ_DCI_SW6530_4 HGE1/0/56
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 4094
lacp period short
port link-aggregation group 200
#
interface M-GigabitEthernet0/0/0
#
interface Ten-GigabitEthernet1/0/46
port link-mode route
description To ZHGZ_DCI_SW6530A XGE1/0/46
ip address 100.65.161.1 255.255.255.252
dci enable
#
interface Ten-GigabitEthernet1/0/47
port link-mode route
description To ZHNJ_DCI_SW6530_4 XGE1/0/47
port link-aggregation group 100
#
interface Ten-GigabitEthernet1/0/48
port link-mode route
description To ZHNJ_DCI_SW6530_4 40G1/0/48
port link-aggregation group 100
#
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/2
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/3
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/4
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/5
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/6
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/7
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/8
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/9
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/10
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/11
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/12
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/13
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/14
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/15
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/16
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/17
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/18
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/19
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/20
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/21
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/22
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/23
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/24
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/25
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/26
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/27
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/28
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/29
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/30
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/31
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/32
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/33
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/34
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/35
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/36
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/37
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/38
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/39
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/40
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/41
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/42
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/43
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/44
port link-mode bridge
#
interface Ten-GigabitEthernet1/0/45
port link-mode bridge
#
bgp 100
router-id 100.65.244.3
peer 100.65.244.5 as-number 200
peer 100.65.244.5 connect-interface LoopBack0
peer 100.65.244.5 ebgp-max-hop 64
peer 100.65.244.6 as-number 200
peer 100.65.244.6 connect-interface LoopBack0
peer 100.65.244.6 ebgp-max-hop 64
peer 100.65.245.5 as-number 200
peer 100.65.245.5 connect-interface LoopBack1
peer 100.65.245.5 ebgp-max-hop 64
#
address-family l2vpn evpn
nexthop evpn-m-lag group-address
peer 100.65.244.5 enable
peer 100.65.244.5 router-mac-local
peer 100.65.244.6 enable
peer 100.65.244.6 router-mac-local
peer 100.65.245.5 enable
peer 100.65.245.5 router-mac-local
#
m-lag mad exclude interface HundredGigE1/0/55
m-lag mad exclude interface HundredGigE1/0/56
m-lag auto-recovery reload-delay 600
m-lag restore-delay 180
m-lag system-mac 0002-0002-3002
m-lag system-number 1
m-lag system-priority 100
m-lag keepalive ip destination 1.1.1.2 source 1.1.1.1 vpn-instance Keepalive
#
scheduler logfile size 16
#
line class console
user-role network-admin
#
line class vty
user-role network-operator
#
line con 0
user-role network-admin
#
line vty 0 63
user-role network-operator
#
arp ip-conflict log prompt
arp user-ip-conflict record enable
#
domain system
#
domain default enable system
#
role name level-0
description Predefined level-0 role
#
role name level-1
description Predefined level-1 role
#
role name level-2
description Predefined level-2 role
#
role name level-3
description Predefined level-3 role
#
role name level-4
description Predefined level-4 role
#
role name level-5
description Predefined level-5 role
#
role name level-6
description Predefined level-6 role
#
role name level-7
description Predefined level-7 role
#
role name level-8
description Predefined level-8 role
#
role name level-9
description Predefined level-9 role
#
role name level-10
description Predefined level-10 role
#
role name level-11
description Predefined level-11 role
#
role name level-12
description Predefined level-12 role
#
role name level-13
description Predefined level-13 role
#
role name level-14
description Predefined level-14 role
#
user-group system
#
security-enhanced level 1
#
undo ssl renegotiation disable
undo ssl version ssl3.0 disable
undo ssl version tls1.0 disable
undo ssl version tls1.1 disable
#
return
(0)
最佳答案
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明
暫無評論