HUAWEI 交换机清除堆叠配置方法

360影视 国产动漫 2025-03-29 14:46 2

摘要:执行命令reset stack configuration清除堆叠相关配置。包括:交换机槽位号、堆叠优先级、堆叠保留VLAN、系统MAC切换时间、堆叠口配置、堆叠口速率配置。例如:

执行命令reset stack configuration清除堆叠相关配置。包括:交换机槽位号、堆叠优先级、堆叠保留VLAN、系统MAC切换时间、堆叠口配置、堆叠口速率配置。例如:

system-view[HUAWEI] reset stack configurationWarning: This operation will clear all stack configurations and may lead to the loss of the slot ID configuration and cause the device to reset immediately. Are you sure you want to continue? [Y/N]:y

执行该命令后会导致原有堆叠系统分裂,设备重启。

方法二:

不支持命令reset stack configuration,只能使用配置命令分别进行清除。清除配置需要重启设备才生效。

恢复堆叠优先级: system-view[HUAWEI] stack slot 2 priority 100 //将2槽位号的优先级恢复为缺省值100

恢复槽位号:

system-view[HUAWEI] stack slot 2 renumber 0 //将设备槽位号修改为0

恢复堆叠保留VLAN:

system-view[HUAWEI] stack reserved-vlan 4093 //将堆叠保留VLAN恢复到缺省值4093

恢复系统MAC切换时间:

system-view[HUAWEI] undo stack timer mac-address switch-delay删除堆叠口

# 将堆叠成员口XGE0/0/1从堆叠口中删除。

system-view[HUAWEI] interface stack-port 0/1 [HUAWEI-stack-port0/1] shutdown interface xgigabitethernet0/0/1[HUAWEI-stack-port0/1] undo port interface xgigabitethernet0/0/1 enable system-view[HUAWEI] interface stack-port 0/1 [HUAWEI-stack-port0/1] undo port member-group interface xgigabitethernet 0/0/1[HUAWEI-stack-port0/1] quit [HUAWEI] undo stack port interface xgigabitethernet 0/0/1 enable

来源:娱乐花猫

相关推荐