欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 科技 > IT业 > ⑨数据中心-M-LAG技术配置

⑨数据中心-M-LAG技术配置

2025/4/17 9:44:05 来源:https://blog.csdn.net/qq_56248592/article/details/147052548  浏览:    关键词:⑨数据中心-M-LAG技术配置

华三数据中心网络是指华三提供的专门设计用于数据中心环境的网络解决方案。这种网络通常具有高性能、可扩展性和可靠性,旨在支持大规模数据中心的需求。华三数据中心网络解决方案通常包括以下特点:

  • 1. 高带宽:支持高密度数据中心环境中大量网络流量的传输需求,确保数据中心内部各种应用之间的高效通信。
  • 2. 可扩展性:能够灵活扩展以满足不断增长的数据中心需求,支持简单的横向扩展和纵向扩展。
  • 3. 高可靠性:采用冗余设计和故障隔离机制,确保数据中心网络持续稳定运行,降低网络故障影响。
  • 4. 虚拟化支持:提供对虚拟化环境的全面支持,包括虚拟交换机和网络功能虚拟化等技术,以提高数据中心网络的灵活性和效率。
  • 5. 安全性:采用先进的安全技术和策略,保护数据中心网络免受各种网络威胁和攻击。

交换机技术的发展历程

服务器的接入方式-技术的跟进

数据中心1.0

数据中心2.0 IRF/M-LAG

数据中心3.0 VXLAN+EVPN+OSPF/BGP


数据中心2.0   华三M-LAG配置(M-lag+Vxlan+OSPF/BGP/ISIS+EVPN)


M-LAG配置

1、配置 M-LAG 系统 MAC 地址

<H3C>system-view[H3C]m-lag system-mac ?H-H-H MAC address2a7a-53ee-0100 Bridge MAC address[H3C]m-lag system-mac

2、配置 M-LAG 系统编号

[H3C]m-lag system-number ?INTEGER<1-2> Number value[H3C]m-lag system-number

3、配置 M-LAG 系统优先级

[H3C]m-lag role priority ?INTEGER<0-65535> Priority value[H3C]m-lag role priority

4、开启M-LAG设备独立工作功能

[H3C]m-lag standalone ?enable Enable this feature[H3C]m-lag standalone en[H3C]m-lag standalone enable ?delay Specify the delay before changing to standalone mode<cr>[H3C]m-lag standalone enable de[H3C]m-lag standalone enable delay ?INTEGER<0-3600> Delay time in seconds[H3C]m-lag standalone enable delay

5、配置Keepalive报文参数

[H3C]m-lag keepalive ?hold-time Specify the neighbor keepalive hold timeinterval Specify the neighbor keepalive intervalip Specify IP configurationipv6 Specify IPv6 configurationtrack Specify a track entry[H3C]m-lag keepalive ip[H3C]m-lag keepalive ip ?destination Specify the destination IP address for keepalive packets[H3C]m-lag keepalive ip de[H3C]m-lag keepalive ip destination ?X.X.X.X Destination IPv4 address[H3C]m-lag keepalive ip destination 1.1.1.1 source 1.1.1.2

6、配置 Keepalive 报文发送的时间间隔和超时时间间隔

[H3C]m-lag keepalive interval ?INTEGER<100-10000> Interval in milliseconds[H3C]m-lag keepalive interval 500Changing the keepalive interval might cause system setup failure. Continue? [Y/N]:

7、配置接口在M-LAG系统分裂后的状态

[H3C]m-lag mad default-action ?down Put interfaces in the M-LAG MAD DOWN statenone Do not take any action[H3C]m-lag mad default-action

8、配置 M-LAG 保留接口

[H3C]m-lag mad exclude ?interface Interface configurationlogical-interfaces Exclude all logical interfaces[H3C]m-lag mad exclude int[H3C]m-lag mad exclude interface ?FortyGigE FortyGigE interfaceGigabitEthernet GigabitEthernet interfaceM-GigabitEthernet MGE interfaceTen-GigabitEthernet Ten-GigabitEthernet interface[H3C]m-lag mad exclude interface GigabitEthernet 1/0/4

9、配置所有逻辑接口为M-LAG保留接口

[H3C]m-lag mad exclude logical-interfaces

10、配置在M-LAG系统分裂后处于M-LAG MAD DOWN状态的接口

[H3C]m-lag mad include interface GigabitEthernet 1/0/1

11、开启M-LAG MAD DOWN状态保持功能

[H3C]m-lag mad persistent

12、可选)解除设备上所有接口的M-LAG MAD DOWN状态

[H3C]m-lag mad restore

13、配置M-LAG接口

interface Bridge-Aggregation12

port m-lag group 2

14、配置peer-link接口

interface Bridge-Aggregation12

port m-lag peer-link 1

15、开启M-LAG peer-link接口的MAC地址保持功能

[H3C]m-lag peer-link mac-address hold //缺省情况下, M-LAG peer-link接口的MAC地址保持功能处于关闭

16、配置M-LAG虚拟IP地址

IPV4:

[H3C-Vlan-interface1]port m-lag virtual-ip 192.168.89.2 24 ?

active Set the state of the virtual IP address to active

standby Set the state of the virtual IP address to standby

virtual-mac Assign a virtual MAC address to the interface

<cr>

[H3C-Vlan-interface1]port m-lag virtual-ip 192.168.89.2 24

LookBack接口

[H3C]interface LoopBack 1

[H3C-LoopBack1]port m-lag virtual-ip 1.1.1.1 24 ?

active Set the state of the virtual IP address to active

standby Set the state of the virtual IP address to standby

<cr>

[H3C-LoopBack1]port m-lag virtual-ip 1.1.1.1 24

IPV6:

[H3C-Vlan-interface1]port m-lag ipv6 virtual-ip 1:1::1:1 64 ?

active Set the state of the virtual IP address to active

standby Set the state of the virtual IP address to standby

virtual-mac Assign a virtual MAC address to the interface

<cr>

[H3C-Vlan-interface1]port m-lag ipv6 virtual-ip 1:1::1:1 64

LookBack接口IPV6

[H3C-LoopBack1]port m-lag ipv6 virtual-ip ?

X:X::X:X Virtual IP address

[H3C-LoopBack1]port m-lag ipv6 virtual-ip 1:1::1:1 ?

INTEGER<1-128> IPv6 prefix length

link-local Use the link-local address as the virtual IP address

[H3C-LoopBack1]port m-lag ipv6 virtual-ip 1:1::1:1 64 ?

active Set the state of the virtual IP address to active

standby Set the state of the virtual IP address to standby

<cr>

[H3C-LoopBack1]port m-lag ipv6 virtual-ip 1:1::1:1 64

17、配置一致性检查

配置一致性检查的模式为松散模式

[H3C]m-lag consistency-check mode ?

loose Loose mode

strict Strict mode

[H3C]m-lag consistency-check mode

关闭配置一致性检查的模式为松散模式 [H3C]m-lag consistency-check disable

18、配置端口的DRCP超时时间为短超时

[H3C]interface Bridge-Aggregation 33 [H3C-Bridge-Aggregation33]m-lag drcp period short

19、配置peer-link链路down后等待检测故障原因的时间

[H3C]m-lag keepalive hold-time ?

INTEGER<3-10> Hold time in seconds

[H3C]m-lag keepalive hold-time

20、配置设备重启后的自动恢复时间

[H3C]m-lag auto-recovery reload-delay ?

INTEGER<240-3600> Recovery time in seconds

[H3C]m-lag auto-recovery reload-delay

21、配置接口延迟恢复时间

[H3C]m-lag restore-delay ?

INTEGER<1-3600> Delay time in seconds

[H3C]m-lag restore-delay

22、开启M-LAG序列号校验功能

[H3C]m-lag sequence en 

[H3C]m-lag sequence enable Changing the state of the sequence number check function might cause M-LAG system setup failure. Continue? [Y/N]:y

23、开启M-LAG报文认证功能,并配置认证密钥

[H3C]m-lag authentication key ?

cipher Specify a ciphertext key

simple Specify a plaintext key

[H3C]m-lag authentication key simple 11111

Changing the authentication key might cause M-LAG system setup failure. Continue? [Y/N]:y

M-LAG维护指南

1、显示M-LAG配置一致性信息

display m-lag consistency { type1 | type2 } { global | interfaceinterface-type interface-number }

2、显示M-LAGDRCP报文的统计信息

display m-lag drcp statistics [ interface interface-typeinterface-number ]

3、显示M-LAGKeepalive报文的信息

display m-lag keepalive

4、显示M-LAGMAD的详细信息

display m-lag mad verbose

5、显示M-LAG设备角色信息

display m-lag role

6、显示M-LAG的接口摘要信息

display m-lag summary

7、显示M-LAG系统信息

display m-lag system

8、显示M-LAG的接口详细信息

display m-lag verbose [ interface bridge-aggregationinterface-number ]

9、显示M-LAG的故障信息

display m-lag troubleshooting [ m-lag-interface | peer-link |keepalive ] [ history ] [ count ]

10、清除M-LAG的DRCP统计信息

reset m-lag drcp statistics [ interface interface-list ]

11、清除M-LAG的历史故障信息

reset m-lag troubleshooting history

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词