华为交换机堆叠配置及命令
时间: 2023-11-17 20:05:13 浏览: 162
华为交换机堆叠配置及命令
1. 创建堆叠:
[Switch]stack port-group 1
[Switch]stack port-group 2
[Switch]stack enable
[Switch]reboot
2. 查看堆叠:
[Switch]display stack
[Switch]display stack brief
3. 配置主备关系:
[Switch]stack member 1 priority 100
[Switch]stack member 2 priority 90
4. 配置堆叠端口:
[Switch]interface stack-port 1/0/1
[Switch-stack-port1/0/1]port link-type stack
[Switch-stack-port1/0/1]port stack-protocol enable
[Switch-stack-port1/0/1]quit
5. 配置堆叠IP地址:
[Switch]interface stack-port 1/0/1
[Switch-stack-port1/0/1]port link-type stack
[Switch-stack-port1/0/1]port stack-protocol enable
[Switch-stack-port1/0/1]quit
6. 查看堆叠状态:
[Switch]display stack state
[Switch]display stack brief
7. 删除堆叠:
[Switch]stack member 1 delete
[Switch]stack member 2 delete
[Switch]stack disable
[Switch]reboot
阅读全文