核心A 二层聚合 列入一个物理端口
核心B 二层聚合 列入一个物理端口
做了M-LAG跨设备链路聚合 trunk vlan方通
下联二层交换机 2个端口二层聚合trunk vlan方通
为什么聚合口无法up呢?删除port m-lag group 1 就正常up了
主交换机配置 配置M-LAG:
[Core-A]m-lag system-mac 1-1-1
Changing the system MAC address might flap the peer link and cause M-LAG system setup failure. Continue? [Y/N]:y
[Core-A]m-lag system-number 1
Changing the system number might flap the peer link and cause M-LAG system setup failure. Continue? [Y/N]:y
[Core-A]m-lag system-priority 123 Changing the system priority might flap the peer link and cause M-LAG system setup failure. Continue? [Y/N]:y
[Core-A]m-lag restore-delay 180
[Core-A]m-lag keepalive ip destination 1.1.1.1 source 1.1.1.2
配置M-LAG的Keeplive三层动态聚合口:
[Core-A]interface Route-Aggregation 1
[Core-A-Route-Aggregation1]description ##M-LAG(Keeplive)Ragg##
[Core-A-Route-Aggregation1]link-aggregation mode dynamic
[Core-A-Route-Aggregation1]ip address 1.1.1.2 255.255.255.252
[Core-A-Route-Aggregation1]quit
[Core-A]interface range GigabitEthernet 1/0/47 GigabitEthernet 1/0/48
[Core-A-if-range]port link-mode route
[Core-A-if-range]port link-aggregation group 1
[Core-A-if-range]quit
[Core-A]interface GigabitEthernet 1/0/47
[Core-A-GigabitEthernet1/0/47]description ##Link-Core-B(G1/0/47)##
[Core-A-GigabitEthernet1/0/47]quit
[Core-A]interface GigabitEthernet 1/0/48
[Core-A-GigabitEthernet1/0/48]description ##Link-Core-B(G1/0/48)##
[Core-A-GigabitEthernet1/0/48]quit
[Core-A]m-lag mad exclude interface Route-Aggregation 1
配置M-LAG的peer-link二层动态聚合口:
[Core-A]interface Bridge-Aggregation 1
[Core-A-Bridge-Aggregation1]description ##Peer-Link##
[Core-A-Bridge-Aggregation1]link-aggregation mode dynamic
[Core-A-Bridge-Aggregation1]quit
[Core-A]interface range FortyGigE 1/0/53 FortyGigE 1/0/54
[Core-A-if-range]port link-aggregation group 1
[Core-A-if-range]quit
[Core-A]interface Bridge-Aggregation 1
[Core-A-Bridge-Aggregation1]port m-lag peer-link 1
[Core-A-Bridge-Aggregation1]undo port trunk permit vlan 1
[Core-A-Bridge-Aggregation1]port trunk permit vlan 2 to 4094
[Core-A-Bridge-Aggregation1]quit
[Core-A]interface FortyGigE 1/0/53
[Core-A-FortyGigE1/0/53]description ##Link-Core-B(FG1/0/53)##
[Core-A-FortyGigE1/0/53]quit
[Core-A]interface FortyGigE 1/0/54
[Core-A-FortyGigE1/0/54]description ##Link-Core-B(FG1/0/54)##
[Core-A-FortyGigE1/0/54]quit
[Core-A]save f
从交换机配置 配置M-LAG:
[Core-B]m-lag system-mac 1-1-1
Changing the system MAC address might flap the peer link and cause M-LAG system setup failure. Continue? [Y/N]:y
[Core-B]m-lag system-number 2
Changing the system number might flap the peer link and cause M-LAG system setup failure. Continue? [Y/N]:y
[Core-B]m-lag system-priority 123 Changing the system priority might flap the peer link and cause M-LAG system setup failure. Continue? [Y/N]:y
[Core-B]m-lag restore-delay 180
[Core-B]m-lag keepalive ip destination 1.1.1.2 source 1.1.1.1
配置M-LAG的Keeplive三层动态聚合口:
[Core-B]interface Route-Aggregation 1
[Core-B-Route-Aggregation1]description ##M-LAG(Keeplive)Ragg##
[Core-B-Route-Aggregation1]link-aggregation mode dynamic
[Core-B-Route-Aggregation1]ip address 1.1.1.1 255.255.255.252
[Core-B-Route-Aggregation1]quit
[Core-B]interface range GigabitEthernet 1/0/47 GigabitEthernet 1/0/48
[Core-B-if-range]port link-mode route
[Core-B-if-range]port link-aggregation group 1
[Core-B-if-range]quit
[Core-B]interface GigabitEthernet 1/0/47
[Core-B-GigabitEthernet1/0/47]description ##Link-Core-A(G1/0/47)##
[Core-B-GigabitEthernet1/0/47]quit
[Core-B]interface GigabitEthernet 1/0/48
[Core-B-GigabitEthernet1/0/48]description ##Link-Core-A(G1/0/48)##
[Core-B-GigabitEthernet1/0/48]quit
[Core-B]m-lag mad exclude interface Route-Aggregation 1
配置M-LAG的peer-link二层动态聚合口:
[Core-B]interface Bridge-Aggregation 1
[Core-B-Bridge-Aggregation1]description ##Peer-Link##
[Core-B-Bridge-Aggregation1]link-aggregation mode dynamic
[Core-B-Bridge-Aggregation1]quit
[Core-B]interface range FortyGigE 1/0/53 FortyGigE 1/0/54
[Core-B-if-range]port link-aggregation group 1
[Core-B-if-range]quit
[Core-B]interface Bridge-Aggregation 1
[Core-B-Bridge-Aggregation1]port m-lag peer-link 1
[Core-B-Bridge-Aggregation1]undo port trunk permit vlan 1
[Core-B-Bridge-Aggregation1]port trunk permit vlan 2 to 4094
[Core-B-Bridge-Aggregation1]quit
[Core-B]interface FortyGigE 1/0/53
[Core-B-FortyGigE1/0/53]description ##Link-Core-A(FG1/0/53)##
[Core-B-FortyGigE1/0/53]quit
[Core-B]interface FortyGigE 1/0/54
[Core-B-FortyGigE1/0/54]description ##Link-Core-A(FG1/0/54)##
[Core-B-FortyGigE1/0/54]quit
[Core-B]save f
主交换机配置下联交换机M-LAG口:
[Core-A]interface Bridge-Aggregation 2
[Core-A-Bridge-Aggregation2]description ##Link-L2-01(M-LAG)##
[Core-A-Bridge-Aggregation2]link-aggregation mode dynamic
[Core-A-Bridge-Aggregation2]quit
[Core-A]interface GigabitEthernet 1/0/1
[Core-A-GigabitEthernet1/0/1]description ##Link-L2-01(G1/0/47)##
[Core-A-GigabitEthernet1/0/1]port link-aggregation group 2
[Core-A-GigabitEthernet1/0/1]quit
[Core-A]interface Bridge-Aggregation 2
[Core-A-Bridge-Aggregation2]port link-type trunk
[Core-A-Bridge-Aggregation2]undo port trunk permit vlan 1
[Core-A-Bridge-Aggregation2]port trunk permit vlan 2 to 4094
[Core-A-Bridge-Aggregation2]port m-lag group 1
[Core-A-Bridge-Aggregation2]quit
[Core-A]save f
从交换机配置下联交换机M-LAG口:
[Core-B]interface Bridge-Aggregation 2
[Core-B-Bridge-Aggregation2]description ##Link-L2-01(M-LAG)##
[Core-B-Bridge-Aggregation2]link-aggregation mode dynamic
[Core-B-Bridge-Aggregation2]quit
[Core-B]interface GigabitEthernet 1/0/1
[Core-B-GigabitEthernet1/0/1]description ##Link-L2-01(G1/0/48)##
[Core-B-GigabitEthernet1/0/1]port link-aggregation group 2
[Core-B-GigabitEthernet1/0/1]quit
[Core-B]interface Bridge-Aggregation 2
[Core-B-Bridge-Aggregation2]port link-type trunk
[Core-B-Bridge-Aggregation2]undo port trunk permit vlan 1
[Core-B-Bridge-Aggregation2]port trunk permit vlan 2 to 4094
[Core-B-Bridge-Aggregation2]port m-lag group 1
[Core-B-Bridge-Aggregation2]quit
[Core-B]save f
接入交换机配置:
[L2-01]interface Bridge-Aggregation 1
[L2-01-Bridge-Aggregation1]description ##Link-Core(M-LAG)##
[L2-01-Bridge-Aggregation1]port link-type trunk
[L2-01-Bridge-Aggregation1]undo port trunk permit vlan 1
[L2-01-Bridge-Aggregation1]port trunk permit vlan 2 to 4094
[L2-01-Bridge-Aggregation1]quit [L2-01]interface GigabitEthernet 1/0/47
[L2-01-GigabitEthernet1/0/47]description ##Link-Core-A(G1/0/1)##
[L2-01-GigabitEthernet1/0/47]port link-aggregation group 1
[L2-01-GigabitEthernet1/0/47]quit
[L2-01]interface GigabitEthernet 1/0/48
[L2-01-GigabitEthernet1/0/48]description ##Link-Core-B(G1/0/1)##
[L2-01-GigabitEthernet1/0/48]port link-aggregation group 1
[L2-01-GigabitEthernet1/0/48]quit
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论