华三设备开启dhcp服务 堆叠

华三交换机堆叠

[SW1]irf member 1 priority 10 #配置设备号,调整优先级
[SW1]interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52 #批量管理做堆叠的接口
[SW1-if-range]shutdown #先down接口
[SW1-irf-port1/1]dis th
irf-port 1/1 #创建虚拟接口,将接口加入
port group interface Ten-GigabitEthernet1/0/51
port group interface Ten-GigabitEthernet1/0/52

[SW1]interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
[SW1-if-range]undo shutdown #重新开启接口
[SW1]save #保存配置
[SW1]irf-port-configuration active
reboot #重启设备

SW2:
[SW2]irf member 1 renumber 2 #配置设备号
reboot #重启设备
@重启之后,设备接口编号会变化
[SW2]int range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/52
[SW2-if-range]shutdown
[SW2-irf-port2/2]dis th
irf-port 2/2 #创建虚拟接口,本例采用环形连接方式
port group interface Ten-GigabitEthernet2/0/51
port group interface Ten-GigabitEthernet2/0/52
[SW2]interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
[SW2-if-range]undo shutdown #重新开启接口
[SW2]save #保存配置
[SW2]irf-port-configuration active
@此时设备会自动重启```
`

#特别注意
注意必须在系统视图下开启dhcp
posted @ 2024-09-26 20:07  竹石2020  阅读(10)  评论(0编辑  收藏  举报