您的位置:首页 > 其它

华为交换机配置管理VLAN及管理IP

fenglingwan 2020-09-08 23:06 85 查看 https://blog.51cto.com/2221384

华为核心交换机:S5720S-36C-EI-AC 管理IP:172.30.5.1
华为桌面交换机:S5700S-52P-LI-AC 管理IP:172.30.5.10
管理vlan:vlan 5

核心交换机配置:
<HUAWEI>sys
[HUAWEI]sysname SW_CORE_5.1
[SW_CORE_5.1]vlan 5
[SW_CORE_5.1-VLAN5]management-vlan
[SW_CORE_5.1-VLAN5]quit
[SW_CORE_5.1]interface vlanif 5
[SW_CORE_5.1-VLANIF5]ip address 172.30.5.1 24
[SW_CORE_5.1-VLANIF5]quit

接入层交换机配置:
[HUAWEI]sysname sw_acc_5.10
[sw_acc_5.10]vlan 5
[sw_acc_5.10]quit
[sw_acc_5.10]int vlanif 5
[sw_acc_5.10-vlanif5]ip address 172.30.5.10 24
[sw_acc_5.10-vlanif5]quit

标签: