【smark实验记录】
文章图片
[LSW1]interface Ethernet 0/0/1
[LSW1-Ethernet0/0/1]stp disable (关闭stp)
[LSW1]interface Ethernet 0/0/2
[LSW1-Ethernet0/0/1]stp disable (关闭stp)[LSW1]smart-link group 1
[LSW1-smlk-group1]smart-link enable [LSW1-smlk-group1]port Ethernet 0/0/1 master (主)
[LSW1-smlk-group1]port Ethernet 0/0/2 slave(备)[LSW1]smart-link group 1
[LSW1-smlk-group1]display this
#
smart-link group 1
port Ethernet0/0/1 master
port Ethernet0/0/2 slave[LSW1]display smart-link group 1
Smart Link group 1 information :
Smart Link group was disabled
There is no Load-Balance
There is no protected-vlan reference-instance
DeviceID: 4c1f-cce8-159f
MemberRoleStateFlush Count Last-Flush-Time
----------------------------------------------------------------------Ethernet0/0/1Master Unknown00000/00/00 00:00:00 UTC+00
:00
Ethernet0/0/2SlaveUnknown00000/00/00 00:00:00 UTC+00
:00 [LSW2]interface Ethernet 0/0/1
[LSW2-Ethernet0/0/1]shutdown [LSW1]display smart-link group 1
Smart Link group 1 information :
Smart Link group was enabled
There is no Load-Balance
There is no protected-vlan reference-instance
DeviceID: 4c1f-cce8-159f
MemberRoleStateFlush Count Last-Flush-Time
----------------------------------------------------------------------Ethernet0/0/1Master Inactive 00000/00/00 00:00:00 UTC+00
:00
Ethernet0/0/2SlaveActive00000/00/00 00:00:00 UTC+00
:00
[LSW1]display smart-link group 1
Smart Link group 1 information :
Smart Link group was enabled
There is no Load-Balance
There is no protected-vlan reference-instance
DeviceID: 4c1f-cce8-159f
MemberRoleStateFlush Count Last-Flush-Time
----------------------------------------------------------------------Ethernet0/0/1Master Inactive 00000/00/00 00:00:00 UTC+00
:00
Ethernet0/0/2SlaveActive00000/00/00 00:00:00 UTC+00
:00 [LSW2-Ethernet0/0/1]undo shutdown 配置回切[LSW1]smart-link group 1
[LSW1-smlk-group1]restore enable开启回切功能
[LSW1-smlk-group1]timer wtr 30设置时间,默认是60秒[LSW1]display smart-link group 1
Smart Link group 1 information :
Smart Link group was enabled
Wtr-time is: 30 sec.
There is no Load-Balance
There is no protected-vlan reference-instance
DeviceID: 4c1f-cce8-159f
MemberRoleStateFlush Count Last-Flush-Time
----------------------------------------------------------------------Ethernet0/0/1Master Active00000/00/00 00:00:00 UTC+00
:00
Ethernet0/0/2SlaveInactive 00000/00/00 00:00:00 UTC+00
:00 [LSW2-Ethernet0/0/1]shutdown[LSW1]display smart-link group 1
Smart Link group 1 information :
Smart Link group was enabled
Wtr-time is: 30 sec.
There is no Load-Balance
There is no protected-vlan reference-instance
DeviceID: 4c1f-cce8-159f
MemberRoleStateFlush Count Last-Flush-Time
----------------------------------------------------------------------Ethernet0/0/1Master Inactive 00000/00/00 00:00:00 UTC+00
:00
Ethernet0/0/2SlaveActive00000/00/00 00:00:00 UTC+00
:00 [LSW2-Ethernet0/0/2]shutdown
[LSW1]display smart-link group 1
Smart Link group 1 information :
Smart Link group was enabled
Wtr-time is: 30 sec.
There is no Load-Balance
There is no protected-vlan reference-instance
DeviceID: 4c1f-cce8-159f
MemberRoleStateFlush Count Last-Flush-Time
----------------------------------------------------------------------Ethernet0/0/1Master Active00000/00/00 00:00:00 UTC+00
:00
Ethernet0/0/2SlaveInactive 00000/00/00 00:00:00 UTC+00
:00 监控链路状态
[LSW2]monitor-link group 1
[LSW2-mtlk-group1]port Ethernet 0/0/2 ?
downlinkSet this port as downlink
uplinkSet this port as uplink
[LSW2-mtlk-group1]port Ethernet 0/0/2 uplink
[LSW2-mtlk-group1]port Ethernet 0/0/1 downlink