M-LAG(跨设备链路聚合)二层基础配置

一、拓扑结构

 

 二、接口配制

S6850_1 S6850_2

interface Vlan-interface999
ip address 1.1.1.1 255.255.255.252
#
interface FortyGigE1/0/53
port link-mode bridge
port access vlan 999

#

interface GigabitEthernet1/0/1
port link-mode bridge
combo enable fiber
port link-aggregation group 4

interface Ten-GigabitEthernet1/0/49
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable fiber
port link-aggregation group 1
#
interface Ten-GigabitEthernet1/0/50
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable fiber
port link-aggregation group 1

interface Bridge-Aggregation4
port link-type trunk
port trunk permit vlan all
link-aggregation mode dynamic
port m-lag group 4

interface Vlan-interface999
ip address 1.1.1.2 255.255.255.252
#
interface FortyGigE1/0/53
port link-mode bridge
port access vlan 999

#

interface GigabitEthernet1/0/1
port link-mode bridge
combo enable fiber
port link-aggregation group 4

interface Ten-GigabitEthernet1/0/49
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable fiber
port link-aggregation group 1
#
interface Ten-GigabitEthernet1/0/50
port link-mode bridge
port link-type trunk
port trunk permit vlan all
combo enable fiber
port link-aggregation group 1

  interface Bridge-Aggregation4

port link-type trunk
port trunk permit vlan all
link-aggregation mode dynamic
port m-lag group 4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

三、M-LAG配置

S6850_1 S6850_2

m-lag system-mac 0001-0001-0001
m-lag system-number 1
m-lag system-priority 123
m-lag consistency-check disable
m-lag keepalive ip destination 1.1.1.2 source 1.1.1.1

m-lag system-mac 0001-0001-0001
m-lag system-number 2
m-lag system-priority 123
m-lag consistency-check disable
m-lag keepalive ip destination 1.1.1.1 source 1.1.1.2

 

 

 

 

 

四、

posted @ 2024-05-30 16:22  MoStart  阅读(249)  评论(0编辑  收藏  举报