多级m-lag直接怎么配置互联地址

多级m-lag之间怎么配置互联地址? 我看了官网上并没有相关案例 能分享下嘛?
(1)
最佳答案
您好,请知:
以下是配置参考:
主配置:
| hardware-resource switch-mode 4 |
| y |
| hardware-resource routing-mode ipv6-128 |
| y |
| hardware-resource vxlan l3gw40k |
| y |
| ip vpn-instance mgmt |
| ip route-static vpn-instance mgmt 0.0.0.0 0 10.190.11.225 |
| interface M-GigabitEthernet1/0/0/0 |
| ip binding vpn-instance mgmt |
| ip address 10.190.11.237 255.255.255.224 |
| quit |
| local-user ddkadmin class manage |
| password simple NNflxx@22826 |
| service-type http https ssh |
| authorization-attribute user-role network-admin |
| authorization-attribute user-role network-operator |
| quit |
| line vty 0 63 |
| authentication-mode scheme |
| user-role network-admin |
| user-role network-operator |
| protocol inbound ssh |
| quit |
| ssh server enable |
| ssh user admin service-type stelnet authentication-type password |
| lldp global enable |
| netconf soap https enable |
| netconf ssh server enable |
| ovsdb server ptcp port 6632 |
| ovsdb server enable |
| vtep enable |
| l2vpn enable |
| vxlan tunnel mac-learning disable |
| vxlan tunnel arp-learning disable |
| vxlan tunnel nd-learning disable |
| ospf 1 router-id 10.190.11.loopback0 |
| description Underlay |
| non-stop-routing |
| area 0.0.0.0 |
| interface LoopBack0 |
| description Underlay_Router-id |
| ip address 10.190.11.XXX 255.255.255.255 |
| ospf 1 area 0.0.0.0 |
| interface Ten-GigabitEthernet1/1/1 |
| port link-mode route |
| y |
| description To-Spine01_XGE1/2/0/25 |
| ip address unnumbered interface LoopBack0 |
| ospf network-type p2p |
| ospf 1 area 0.0.0.0 |
| lldp management-address arp-learning |
| lldp tlv-enable basic-tlv management-address-tlv interface LoopBack0 |
| interface LoopBack2 |
| description VTEP_IP |
| ip address 10.190.11.XXX 255.255.255.255 |
| ospf 1 area 0.0.0.0 |
| quit |
| evpn global-mac 0001-0001-0002 |
| evpn drni group loopback2地址 |
| bgp 100 |
| advertise-rib-active |
| non-stop-routing |
| router-id loopback2_address |
| group evpn internal |
| peer evpn connect-interface Loopback2 |
| peer spine_loopback2_address group evpn |
| peer spine_loopback2_address group evpn |
| address-family l2vpn evpn |
| peer evpn enable |
| quit |
| quit |
| ip vpn-instance IPP-Keeplive |
| quit |
| drni keepalive ip destination 1.1.1.2 vpn-instance IPP-Keeplive |
| interface Ten-GigabitEthernet1/2/23 |
| port link-mode route |
| y |
| description To-Leaf02_XGE1/2/23 |
| ip binding vpn-instance IPP-Keeplive |
| ip address 1.1.1.1 255.255.255.252 |
| quit |
| drni system-mac a069-d915-e80b |
| y |
| drni auto-recovery reload-delay 300 |
| drni restore-delay 180 |
| drni system-number 1 |
| y |
| drni system-priority 10 |
| y |
| interface Bridge-Aggregation124 |
| quit |
| interface Ten-GigabitEthernet1/1/24 |
| description To-Leaf02_XGE1/1/24 |
| port link-aggregation group 124 |
| quit |
| interface Ten-GigabitEthernet1/2/24 |
| description To-Leaf02_XGE1/2/24 |
| port link-aggregation group 124 |
| quit |
| port-isolate group 1 |
| interface Bridge-Aggregation124 |
| description To-Leaf02_IPL |
| port link-type trunk |
| undo port trunk permit vlan 1 |
| port trunk permit vlan 4094 |
| port trunk pvid vlan 4094 |
| link-aggregation mode dynamic |
| port drni intra-portal-port 1 |
| undo mac-address static source-check enable |
| port-isolate enable group 1 |
| quit |
| drni mad exclude interface M-GigabitEthernet0/0/0 |
| drni mad exclude interface M-GigabitEthernet0/0/1 |
| drni mad exclude interface Ten-GigabitEthernet1/2/23 |
| drni mad exclude interface Vlan-interface4094 |
| drni mad exclude interface Vlan-interfacexxx |
| vlan 4094 |
| interface Vlan-interface4094 |
| description DRNI_taosheng |
| ip address 10.190.11.xx 255.255.255.252 |
| ospf network-type p2p |
| ospf 1 area 0.0.0.0 |
| quit |
备设备:
| hardware-resource switch-mode 4 |
| y |
| hardware-resource routing-mode ipv6-128 |
| y |
| hardware-resource vxlan l3gw40k |
| y |
| ip vpn-instance mgmt |
| ip route-static vpn-instance mgmt 0.0.0.0 0 10.190.11.225 |
| interface M-GigabitEthernet1/0/0/0 |
| ip binding vpn-instance mgmt |
| ip address 10.190.11.238 255.255.255.224 |
| quit |
| local-user ddkadmin class manage |
| password simple NNflxx@22826 |
| service-type http https ssh |
| authorization-attribute user-role network-admin |
| authorization-attribute user-role network-operator |
| quit |
| line vty 0 63 |
| authentication-mode scheme |
| user-role network-admin |
| user-role network-operator |
| protocol inbound ssh |
| quit |
| ssh server enable |
| ssh user admin service-type stelnet authentication-type password |
| lldp global enable |
| netconf soap https enable |
| netconf ssh server enable |
| ovsdb server ptcp port 6632 |
| ovsdb server enable |
| vtep enable |
| l2vpn enable |
| vxlan tunnel mac-learning disable |
| vxlan tunnel arp-learning disable |
| vxlan tunnel nd-learning disable |
| ospf 1 router-id 10.190.11.loopback0 |
| description Underlay |
| non-stop-routing |
| area 0.0.0.0 |
| interface LoopBack0 |
| description Underlay_Router-id |
| ip address 10.190.11.XXX 255.255.255.255 |
| ospf 1 area 0.0.0.0 |
| interface Ten-GigabitEthernet1/1/1 |
| port link-mode route |
| y |
| description To-Spine02_XGE1/2/0/25 |
| ip address unnumbered interface LoopBack0 |
| ospf network-type p2p |
| ospf 1 area 0.0.0.0 |
| lldp management-address arp-learning |
| lldp tlv-enable basic-tlv management-address-tlv interface LoopBack0 |
| interface LoopBack2 |
| description VTEP_IP |
| ip address 10.190.11.XXX 255.255.255.255 |
| ospf 1 area 0.0.0.0 |
| quit |
| evpn global-mac 0001-0001-0002(与主一致) |
| evpn drni group loopback2地址(与主一致) |
| bgp 100 |
| advertise-rib-active |
| non-stop-routing |
| router-id loopback2_address |
| group evpn internal |
| peer evpn connect-interface Loopback2 |
| peer spine_loopback2_address group evpn |
| peer spine_loopback2_address group evpn |
| address-family l2vpn evpn |
| peer evpn enable |
| quit |
| quit |
| ip vpn-instance IPP-Keeplive |
| quit |
| drni keepalive ip destination 1.1.1.1 vpn-instance IPP-Keeplive |
| interface Ten-GigabitEthernet1/2/23 |
| port link-mode route |
| y |
| description To-Leaf01_XGE1/2/23 |
| ip binding vpn-instance IPP-Keeplive |
| ip address 1.1.1.1 255.255.255.252 |
| quit |
| drni system-mac a069-d915-e80b(备设备使用桥MAC与主设备一致) |
| y |
| drni auto-recovery reload-delay 300 |
| drni restore-delay 180 |
| drni system-number 2 |
| y |
| drni system-priority 10 |
| y |
| interface Bridge-Aggregation124 |
| quit |
| interface Ten-GigabitEthernet1/1/24 |
| description To-Leaf01_XGE1/1/24 |
| port link-aggregation group 124 |
| quit |
| interface Ten-GigabitEthernet1/2/24 |
| description To-Leaf01_XGE1/2/24 |
| port link-aggregation group 124 |
| quit |
| port-isolate group 1 |
| interface Bridge-Aggregation124 |
| description To-Leaf01_IPL |
| port link-type trunk |
| undo port trunk permit vlan 1 |
| port trunk permit vlan 4094 |
| port trunk pvid vlan 4094 |
| link-aggregation mode dynamic |
| port drni intra-portal-port 1 |
| undo mac-address static source-check enable |
| port-isolate enable group 1 |
| quit |
| drni mad exclude interface M-GigabitEthernet0/0/0 |
| drni mad exclude interface M-GigabitEthernet0/0/1 |
| drni mad exclude interface Ten-GigabitEthernet1/2/23 |
| drni mad exclude interface Vlan-interface4094 |
| drni mad exclude interface Vlan-interfacexxx |
| vlan 4094 |
| interface Vlan-interface4094 |
| description DRNI_taosheng |
| ip address 10.190.11.xx 255.255.255.252 |
| ospf network-type p2p |
| ospf 1 area 0.0.0.0 |
| quit |
(1)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论