认识irf+mad+bfd+link_aggregation技术
一、华三交换机的堆叠测试
(1)实验要求
(1)PC1与PC3正常通信,PC2与PC4正常通信
(2)断开交换机S1上联线GE1/0/11与GE1/0/12中任意一条链路,通信正常;断开交换机S2上联线GE1/0/21与GE1/0/22中任意一条链路,通信正常;断开交换机S1上联线GE1/0/11与GE1/0/12中任意一条链路,并且同时断开交换机S2上联线GE1/0/21与GE1/0/22中任意一条链路,通信仍然正常;断开交换机S3与交换机S4之间两条堆叠线(ten-g1/0/50<——>ten-g2/0/50、ten-g1/0/51<——>ten-g2/0/51)中任意一条,通信仍然正常;
(3)恢复交换机S1、S2断开链路,并且将交换机S3、S4之间的两条堆叠线路全部断开,通信仍然正常,同时查看S3、S4上mad配置及bfd会话变化情况。
(2)配置
//交换机S1配置
<H3C>sys //进入系统视图
[H3C]undo info-center enable //关闭信息中心功能
[H3C]sysname S1 //更改交换机名
//创建vlan 10、vlan 20,分别纳入PC1、PC2
[S1]vlan 10
[S1-vlan10]port ge1/0/1
[S1-vlan10]vlan 20
[S1-vlan20]port ge1/0/2
//创建二层聚合端口1,并将接口纳入聚合口
[S1-vlan20]int bagg1 //创建二层聚合端口1
[S1-Bridge-Aggregation1]quit
[S1]int range ge1/0/11 to ge1/0/12
[S1-if-range]port link-aggregation group 1 //将g1/0/11、g1/0/12口纳入聚合端口1
//配置二层聚合端口1
[S1-if-range]int bagg1
[S1-Bridge-Aggregation1]link-aggregation mode dynamic //配置链路聚合模式为动态模式(即lacp模式)
[S1-Bridge-Aggregation1]link-aggregation selected-port minimum 1 //配置最小选中端口数为1
[S1-Bridge-Aggregation1]link-aggregation selected-port maximum 2 //配置最大选中端口数为2
[S1-Bridge-Aggregation1]port link-type trunk //将聚合端口配置为trunk口
Configuring GigabitEthernet1/0/11 done.
Configuring GigabitEthernet1/0/12 done.
[S1-Bridge-Aggregation1]port trunk permit vlan 10 20 //放通vlan 10、vlan 20
Configuring GigabitEthernet1/0/11 done.
Configuring GigabitEthernet1/0/12 done.
[S1-Bridge-Aggregation1]quit
[S1]sa
// 交换机S2配置:
<H3C>sys
[H3C]undo info-center enable
[H3C]sysname S2
[S2]vlan 10
[S2-vlan10]port ge1/0/1
[S2-vlan10]vlan 20
[S2-vlan20]port ge1/0/2
[S2-vlan20]int bagg2
[S2-Bridge-Aggregation2]quit
[S2]int range ge1/0/21 to ge1/0/22
[S2-if-range]port link-aggregation group 2
[S2-if-range]int bagg2
[S2-Bridge-Aggregation2]link-aggregation mode dynamic
[S2-Bridge-Aggregation2]link-aggregation selected-port minimum 1
[S2-Bridge-Aggregation2]link-aggregation selected-port maximum 2
[S2-Bridge-Aggregation2]port link-type trunk
Configuring GigabitEthernet1/0/21 done.
Configuring GigabitEthernet1/0/22 done.
[S2-Bridge-Aggregation2]port trunk permit vlan 10 20
Configuring GigabitEthernet1/0/21 done.
Configuring GigabitEthernet1/0/22 done.
[S2-Bridge-Aggregation2]quit
[S2]sa
//交换机S3、S4配置:
//配置irf
//第一步,配置交换机S3
<H3C>sys
[H3C]undo info-center enable
[H3C]sysname S3
//创建vlan 10、vlan 20 以便vlan 10、vlan 20的数据可以通行
[S3]vlan 10
[S3-vlan10]vlan 20
[S3-vlan20]quit
[S3]irf member 1 priority 20 //设置堆叠成员1的优先级为20,默认优先为1,优先级越大起优先
[S3]irf domain 10 //设置堆叠域名为10
[S3]int range ten-g1/0/50 to ten-g1/0/51 //将端口设置为堆叠口前,需要手动关闭端口
[S3-if-range]shutdown
[S3-if-range]quit
[S3]irf-port 1/2 //创建堆叠逻辑口1/2,
[S3-irf-port1/2]port group int ten-g1/0/50 //将端口纳入堆叠口
[S3-irf-port1/2]port group int ten-g1/0/51
[S3-irf-port1/2]quit
[S3]int range ten-g1/0/50 to ten-g1/0/51 //端口设置为堆叠口后,需要手动开启端口
[S3-if-range]undo shutdown
[S3-if-range]quit
[S3]sa //堆叠配置设置完毕后,需要保存配置
[S3]irf-port-configuration active //激活堆叠端口配置
//第二步:配置交换机S4
<H3C>sys
[H3C]irf member 1 renumber 2 //将交换机默认堆叠成员为1,需要将成员1修改为成员2,以便区分
[H3C]quit
<H3C>reboot //堆叠成员修改完毕后,需要重启生效
//交换机S4重启后继续配置
<H3C>sys
[H3C]undo info
[H3C]undo info-center enable
[H3C]sysname S4
[S4]vlan 10
[S4-vlan10]vlan 20
[S4-vlan20]quit
[S4]irf domain 10
[S4]int range ten-g2/0/50 to ten-g2/0/51
[S4-if-range]shutdown
[S4-if-range]quit
[S4]irf-port 2/1
[S4-irf-port2/1]port group int ten-g2/0/50
[S4-irf-port2/1]port group int ten-g2/0/51
[S4-irf-port2/1]quit
[S4]int range ten-g2/0/50 to ten-g2/0/51
[S4-if-range]undo shutdown
[S4-if-range]save
[S4-if-range]quit
[S4]irf-port-configuration active
//交换机S3、S3进行堆叠,由于S3优先级高,S4会作为备机,会自动重启并将配置更新为S3的配置,重启后查看堆叠是否成功
[S3]dis irf
MemberID Role Priority CPU-Mac Description
*+1 Master 20 f010-90db-7402 ---
2 Standby 1 f010-90db-7403 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The bridge MAC of the IRF is: 4873-9754-59d4
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 10
[S3]dis irf link
Member 1
IRF Port Interface Status
1 disable --
2 Ten-GigabitEthernet1/0/50 UP
Ten-GigabitEthernet1/0/51 UP
Member 2
IRF Port Interface Status
1 Ten-GigabitEthernet2/0/50 UP
Ten-GigabitEthernet2/0/51 UP
2 disable
//至此,S3、S4两台交换机堆叠成功
[S3]int bagg 1 //与下联设备S1、S2匹配,堆叠设备需要配置相对应的二层聚合端口
[S3-Bridge-Aggregation1]int bagg2
[S3-Bridge-Aggregation2]int range ge1/0/11 ge2/0/12
[S3-if-range]port link-aggregation group 1
[S3-if-range]int range ge1/0/21 ge2/0/22
[S3-if-range]port link-aggregation group 2
[S3-if-range]int bagg1
[S3-Bridge-Aggregation1]link-aggregation mode dynamic
[S3-Bridge-Aggregation1]link-aggregation selected-port minimum 1
[S3-Bridge-Aggregation1]link-aggregation selected-port maximum 2
[S3-Bridge-Aggregation1]port link-type trunk
Configuring GigabitEthernet1/0/11 done.
Configuring GigabitEthernet2/0/12 done.
[S3-Bridge-Aggregation1]port trunk permit vlan 10 20
Configuring GigabitEthernet1/0/11 done.
Configuring GigabitEthernet2/0/12 done.
[S3-Bridge-Aggregation1]int bagg2
[S3-Bridge-Aggregation2]link-aggregation mode dynamic
[S3-Bridge-Aggregation2]link-aggregation selected-port minimum 1
[S3-Bridge-Aggregation2]link-aggregation selected-port maximum 2
[S3-Bridge-Aggregation2]port link-type trunk
Configuring GigabitEthernet1/0/21 done.
Configuring GigabitEthernet2/0/22 done.
[S3-Bridge-Aggregation2]port trunk permit vlan 10 20
Configuring GigabitEthernet1/0/21 done.
Configuring GigabitEthernet2/0/22 done.
[S3-Bridge-Aggregation2]quit
//为避免堆叠分裂后导致的双主情况,需要配置mad bfd进行处理
[S3]vlan 1000 //配置vlan 1000,用于mad bfd检测
[S3-vlan1000]port g1/0/1 g2/0/1 //将检测端口纳入vlan 1000
[S3-vlan1000]int vlan 1000 //创建vlan 1000虚接口
[S3-Vlan-interface1000]mad bfd enable //开启mad bfd 功能
[S3-Vlan-interface1000]mad ip address 1.1.1.1 24 member 1 //配置堆叠组员1的mad ip
[S3-Vlan-interface1000]mad ip address 1.1.1.2 24 member 2 //配置堆叠组员2的mad ip
[S3-Vlan-interface1000]int range ge1/0/1 ge2/0/1
[S3-if-range]undo stp enable //因为stp会与mad bfd起冲突,所以需要在检测端口下关闭stp功能
[S3-if-range]quit
[S3]sa
可以通过dis mad verbose及dis bfd session 查看mad bfd配置情况
[S3]dis irf
MemberID Role Priority CPU-Mac Description
*+1 Master 20 f010-90db-7402 ---
2 Standby 1 f010-90db-7403 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The bridge MAC of the IRF is: 4873-9754-59d4
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 10
[S3]dis irf link
Member 1
IRF Port Interface Status
1 disable --
2 Ten-GigabitEthernet1/0/50 UP
Ten-GigabitEthernet1/0/51 UP
Member 2
IRF Port Interface Status
1 Ten-GigabitEthernet2/0/50 UP
Ten-GigabitEthernet2/0/51 UP
2 disable
[S3]dis mad verbose
Multi-active recovery state: No
Excluded ports (user-configured):
Excluded ports (system-configured):
IRF physical interfaces:
Ten-GigabitEthernet1/0/50
Ten-GigabitEthernet1/0/51
Ten-GigabitEthernet2/0/50
Ten-GigabitEthernet2/0/51
BFD MAD interfaces:
GigabitEthernet1/0/1
GigabitEthernet2/0/1
Vlan-interface1000
MAD ARP disabled.
MAD ND disabled.
MAD LACP disabled.
MAD BFD enabled interface: Vlan-interface1000
MAD status : Normal
Member ID MAD IP address Neighbor MAD status
1 1.1.1.1/30 2 Normal
2 1.1.1.2/30 1 Normal
[S3]dis bfd session
Total sessions: 1 Up sessions: 0 Init mode: Active
IPv4 session working in control packet mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
32833/0 1.1.1.1 1.1.1.2 Down / vlan 1000
[S3]ping -a 1.1.1.1 1.1.1.2
Ping 1.1.1.2 (1.1.1.2) from 1.1.1.1: 56 data bytes, press CTRL+C to break
Request time out
Request time out
Request time out
Request time out
Request time out
--- Ping statistics for 1.1.1.2 ---
5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss
//断开堆叠线,查看测试结果
```bash
[S1]dis irf
MemberID Role Priority CPU-Mac Description
*+1 Master 30 f010-90db-7402 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The bridge MAC of the IRF is: 4873-9754-59d4
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 10
[S1]dis irf link
Member 1
IRF Port Interface Status
1 disable --
2 GigabitEthernet1/0/48 DOWN
[S1]dis mad verbose
Multi-active recovery state: No
Excluded ports (user-configured):
Excluded ports (system-configured):
IRF physical interfaces:
Ten-GigabitEthernet1/0/50
BFD MAD interfaces:
GigabitEthernet1/0/1
Vlan-interface1000
MAD ARP disabled.
MAD ND disabled.
MAD LACP disabled.
MAD BFD enabled interface: Route-Aggregation1
MAD status : Normal
Member ID MAD IP address Neighbor MAD status
1 1.1.1.1/24 2 Normal
[S1]dis bfd session
Total sessions: 1 Up sessions: 1 Init mode: Active
IPv4 session working in control packet mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
32833/32833 1.1.1.1 1.1.1.2 Up 4999ms Vlan1000
[S1]ping -a 1.1.1.1 1.1.1.2
Ping 1.1.1.2 (1.1.1.2) from 1.1.1.1: 56 data bytes, press CTRL+C to break
56 bytes from 1.1.1.2: icmp_seq=0 ttl=255 time=4.029 ms
56 bytes from 1.1.1.2: icmp_seq=1 ttl=255 time=1.361 ms
56 bytes from 1.1.1.2: icmp_seq=2 ttl=255 time=1.183 ms
56 bytes from 1.1.1.2: icmp_seq=3 ttl=255 time=1.178 ms
56 bytes from 1.1.1.2: icmp_seq=4 ttl=255 time=1.143 ms
--- Ping statistics for 1.1.1.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
//此时mad检测IP可以ping通,PC1平PC3可以ping通,PC2平PC4可以ping通,断开S3的GE1/0/11口后,均无法ping通,说明mad bfd生效后会将
//交换机S4的所有业务口阻塞
//将堆叠线重新插回,交换机S4会再次自动重启,重启完成后,会再次堆叠
二、华为交换机堆叠测试
(1)实验要求
(2)配置
//交换机S1配置
<FutureMatrix>sys
[S1]stack slot 0 priority 200 //华为交换机堆叠优先级默认为100,优先级越大越优
[S1]int stack-port 0/1 //(堆叠id)/(堆叠端口)
[S1-stack-port0/1]port int g0/0/1 enable
[S1-stack-port0/1]port int g0/0/2 enable
[S1-stack-port0/1]quit
[S1]save stack configuration //保存堆叠配置
//交换机S2配置
<FutureMatrix>sys
[FutureMatrix]stack slot 0 renumber 1 //0、1都是卡槽号(堆叠id)
[FutureMatrix]save stack configuration // reset stack configuration是清除堆叠命令
[FutureMatrix]quit
<FutureMatrix>reboot
//交换机S2重启生效
<FutureMatrix> sys
[FutureMatrix]sysname S2
[S2]int stack-port 1/2
[S2-stack-port1/2]port int g1/0/1 enable
[S2-stack-port1/2]port int g1/0/2 enable
[S2-stack-port1/2]quit
[S2]save stack configuration
//将交换机S1的g0/0/1口、g0/0/2口分别与交换机S2的g1/0/1口、g1/0/2口互联,互联后会发现交换机S2自动重启,去与交换机实现堆叠
//查看堆叠情况
[S1]dis stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 3cc7-86ac-f8ce
MAC switch delay time: 10 min
Stack reserved VLAN: 4093
Slot of the active management port: --
Slot Role MAC Address Priority Device Type
-------------------------------------------------------------
0 Master 3cc7-86ac-f8ce 200 S5735S-L48T4S-A1
1 Standby 3cc7-86ac-f943 100 S5735S-L48T4S-A1
[S1]dis int brief
PHY: Physical
*down: administratively down
#down: LBDT down
(l): loopback
(s): spoofing
(b): BFD down
(e): ETHOAM down
(dl): DLDP down
(lb): LBDT block
(o): Observe-port forwarding down
InUti/OutUti: input utility/output utility
Interface PHY Protocol InUti OutUti inErrors outErrors
GigabitEthernet0/0/1 up up 0% 0.01% 0 0
GigabitEthernet0/0/2 up up 0% 0% 0 0
GigabitEthernet0/0/3 down down 0% 0% 0 0
GigabitEthernet0/0/4 down down 0% 0% 0 0
GigabitEthernet0/0/5 down down 0% 0% 0 0
GigabitEthernet0/0/6 down down 0% 0% 0 0
GigabitEthernet0/0/7 down down 0% 0% 0 0
GigabitEthernet0/0/8 down down 0% 0% 0 0
GigabitEthernet0/0/9 down down 0% 0% 0 0
GigabitEthernet0/0/10 down down 0% 0% 0 0
GigabitEthernet0/0/11 down down 0% 0% 0 0
GigabitEthernet0/0/12 down down 0% 0% 0 0
GigabitEthernet0/0/13 down down 0% 0% 0 0
GigabitEthernet0/0/14 down down 0% 0% 0 0
GigabitEthernet0/0/15 down down 0% 0% 0 0
GigabitEthernet0/0/16 down down 0% 0% 0 0
GigabitEthernet0/0/17 down down 0% 0% 0 0
GigabitEthernet0/0/18 down down 0% 0% 0 0
GigabitEthernet0/0/19 down down 0% 0% 0 0
GigabitEthernet0/0/20 down down 0% 0% 0 0
GigabitEthernet0/0/21 down down 0% 0% 0 0
GigabitEthernet0/0/22 down down 0% 0% 0 0
GigabitEthernet0/0/23 down down 0% 0% 0 0
GigabitEthernet0/0/24 down down 0% 0% 0 0
GigabitEthernet0/0/25 down down 0% 0% 0 0
GigabitEthernet0/0/26 down down 0% 0% 0 0
GigabitEthernet0/0/27 down down 0% 0% 0 0
GigabitEthernet0/0/28 down down 0% 0% 0 0
GigabitEthernet1/0/1 up up 0.01% 0% 0 0
GigabitEthernet1/0/2 up up 0% 0% 0 0
GigabitEthernet1/0/3 down down 0% 0% 0 0
GigabitEthernet1/0/4 down down 0% 0% 0 0
GigabitEthernet1/0/5 down down 0% 0% 0 0
GigabitEthernet1/0/6 down down 0% 0% 0 0
GigabitEthernet1/0/7 down down 0% 0% 0 0
GigabitEthernet1/0/8 down down 0% 0% 0 0
GigabitEthernet1/0/9 down down 0% 0% 0 0
GigabitEthernet1/0/10 down down 0% 0% 0 0
GigabitEthernet1/0/11 down down 0% 0% 0 0
GigabitEthernet1/0/12 down down 0% 0% 0 0
GigabitEthernet1/0/13 down down 0% 0% 0 0
GigabitEthernet1/0/14 down down 0% 0% 0 0
GigabitEthernet1/0/15 down down 0% 0% 0 0
GigabitEthernet1/0/16 down down 0% 0% 0 0
GigabitEthernet1/0/17 down down 0% 0% 0 0
GigabitEthernet1/0/18 down down 0% 0% 0 0
GigabitEthernet1/0/19 down down 0% 0% 0 0
GigabitEthernet1/0/20 down down 0% 0% 0 0
GigabitEthernet1/0/21 down down 0% 0% 0 0
GigabitEthernet1/0/22 down down 0% 0% 0 0
GigabitEthernet1/0/23 down down 0% 0% 0 0
GigabitEthernet1/0/24 down down 0% 0% 0 0
GigabitEthernet1/0/25 down down 0% 0% 0 0
GigabitEthernet1/0/26 down down 0% 0% 0 0
GigabitEthernet1/0/27 down down 0% 0% 0 0
GigabitEthernet1/0/28 down down 0% 0% 0 0
NULL0 up up(s) 0% 0% 0 0
Vlanif1 down down -- -- 0 0
//至此,两台交换机堆叠成功。为防止堆叠分裂后,出现双主情况,现需配置mad检测
[S1]int g0/0/24
[S1-GigabitEthernet0/0/24]mad detect mode direct //在直连接口上配置mad端口检测模式为直连检测
[S1-GigabitEthernet0/0/24]int g1/0/24
[S1-GigabitEthernet1/0/24]mad detect mode direct
[S1-GigabitEthernet1/0/24]quit
[S1]dis mad
Current MAD domain: 0
MAD direct detection enabled: YES
MAD relay detection enabled: NO
//mad直连链路检测配置已设置完毕
//在堆叠交换机上配置业务vlan10,并将g0/0/10口、g1/0/10口纳入vlan10,
//g0/0/10及g1/0/10接口分别下挂终端(IP:172.16.10.2、172.16.10.3),用于业务验证
[S1]vlan 10
[S1-vlan10]int g0/0/10
[S1-GigabitEthernet0/0/10]port link-type access
[S1-GigabitEthernet0/0/10]port default vlan 10
[S1-GigabitEthernet0/0/10]]int g1/0/10
[S1-GigabitEthernet1/0/10]port link-type access
[S1-GigabitEthernet1/0/10]port default vlan 10
[S1-GigabitEthernet1/0/10]int vlan 10 //创建vlan 10虚接口,并配置接口地址作为网关
[S1-Vlanif10]ip address 172.16.10.1 24
[S1-Vlanif10]quit
//查看正常堆叠情况下的接口情况
[S1]dis ip int brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
NULL0 unassigned up up(s)
Vlanif1 unassigned up down
Vlanif10 172.16.10.1/24 up up
[S1]dis int brief | in up
PHY: Physical
*down: administratively down
#down: LBDT down
(l): loopback
(s): spoofing
(b): BFD down
(e): ETHOAM down
(dl): DLDP down
(lb): LBDT block
(o): Observe-port forwarding down
InUti/OutUti: input utility/output utility
Interface PHY Protocol InUti OutUti inErrors outErrors
GigabitEthernet0/0/1 up up 0% 0.01% 0 0
GigabitEthernet0/0/2 up up 0% 0% 0 0
GigabitEthernet0/0/10 up up 0% 0% 0 0
GigabitEthernet0/0/24 up up 0% 0% 0 0
GigabitEthernet1/0/1 up up 0.01% 0% 0 0
GigabitEthernet1/0/2 up up 0% 0% 0 0
GigabitEthernet1/0/10 up up 0.01% 0% 0 0
GigabitEthernet1/0/24 up up 0% 0% 0 0
NULL0 up up(s) 0% 0% 0 0
Vlanif1 up down -- -- 0 0
Vlanif10 up up -- -- 0 0
[S1]
//断开堆叠线,两台交换机不会自动重启,此时在交换机S1上查看堆叠状态
<S1>dis stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 3cc7-86ac-f8ce
MAC switch delay time: 10 min
Stack reserved VLAN: 4093
Slot of the active management port: --
Slot Role MAC Address Priority Device Type
-------------------------------------------------------------
0 Master 3cc7-86ac-f8ce 200 S5735S-L48T4S-A1
<S1>dis mad verbose
Current MAD domain: 0
Current MAD status: Detect
Mad direct detect interfaces configured:
GigabitEthernet0/0/24
Mad relay detect interfaces configured:
Excluded ports(configurable):
Excluded ports(can not be configured):
GigabitEthernet0/0/1
GigabitEthernet0/0/2
<S1>dis ip int brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
NULL0 unassigned up up(s)
Vlanif1 unassigned down down
Vlanif10 172.16.10.1/24 up up
<S1>dis int brief | in up
PHY: Physical
*down: administratively down
#down: LBDT down
(l): loopback
(s): spoofing
(b): BFD down
(e): ETHOAM down
(dl): DLDP down
(lb): LBDT block
(o): Observe-port forwarding down
InUti/OutUti: input utility/output utility
Interface PHY Protocol InUti OutUti inErrors outErrors
GigabitEthernet0/0/10 up up 0% 0% 0 0
NULL0 up up(s) 0% 0% 0 0
Vlanif10 up up -- -- 0 0
//在交换机S2上的堆叠状态
<S1> dis stack
Stack mode: Service-port
Stack topology type: Link
Stack system MAC: 3cc7-86ac-f8ce
MAC switch delay time: 10 min
Stack reserved VLAN: 4093
Slot of the active management port: --
Slot Role MAC Address Priority Device Type
-------------------------------------------------------------
1 Master 3cc7-86ac-f943 100 S5735S-L48T4S-A1
<S1>dis mad verbose
Current MAD domain: 0
Current MAD status: Recovery
Mad direct detect interfaces configured:
GigabitEthernet1/0/24
Mad relay detect interfaces configured:
Excluded ports(configurable):
Excluded ports(can not be configured):
GigabitEthernet1/0/1
GigabitEthernet1/0/2
<S1>dis ip int brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 1
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 1
The number of interface that is DOWN in Protocol is 2
Interface IP Address/Mask Physical Protocol
NULL0 unassigned up up(s)
Vlanif1 unassigned down down
Vlanif10 172.16.10.1/24 down down
<S1>dis int brief | in up
PHY: Physical
*down: administratively down
#down: LBDT down
(l): loopback
(s): spoofing
(b): BFD down
(e): ETHOAM down
(dl): DLDP down
(lb): LBDT block
(o): Observe-port forwarding down
InUti/OutUti: input utility/output utility
Interface PHY Protocol InUti OutUti inErrors outErrors
NULL0 up up(s) 0% 0% 0 0
//此时PC1可以ping通vlan10网关
//PC2无法ping通vlan10网关
//将堆叠线插回后,由于堆叠优先级的作用,交换机S2会自动重启,再次与交换机S1堆叠。
参考文献:
https://blog.csdn.net/m0_72210904/article/details/132438544——堆叠技术详解
https://blog.csdn.net/weixin_60341784/article/details/126933042——mad检测
https://cloud.tencent.com/developer/article/2330886——链路聚合详解