<HuaWei-S5700-01>system-view                                                                  /由用户视图进入系统视图
[HuaWei-S5700-01]vlan 2                                                                              /创建并进入vlan2
[HuaWei-S5700-01-vlan2]port GigabitEthernet 0/0/1 to 0/0/12                     /添加1-12端口到vlan2   
Error: Trunk or Hybrid port(s) can not be added or deleted in this manner.  /报错:不能添加Hybrid 混合端口

需要将端口模式改为access模式才可以继续       

Access、Hybrid和Trunk三种模式的理解 

http://blog.csdn.net/liunianchao/article/details/50000055


[HuaWei-S5700-01]int GigabitEthernet 0/0/2
[HuaWei-S5700-01-GigabitEthernet0/0/2]port link-type access
[HuaWei-S5700-01-GigabitEthernet0/0/2]quit
[HuaWei-S5700-01]int GigabitEthernet 0/0/3
[HuaWei-S5700-01-GigabitEthernet0/0/3]port link-type access
[HuaWei-S5700-01-GigabitEthernet0/0/3]quit                                             /进入每一个端口将Hybrid模式改为access模式

... ...

[HuaWei-S5700-01-vlan2]port GigabitEthernet 0/0/1 to 0/0/12                          /添加1-12端口到vlan2   
HuaWei-S5700-01]dis vlan       

华为交换机S5700配置VLAN和VLANif

[HuaWei-S5700-01]interface Vlanif 2
[HuaWei-S5700-01-Vlanif2]ip address 172.16.8.1 255.255.0.0               /配置vlanif ip地址

相关文章:

  • 2021-04-18
  • 2022-02-13
  • 2021-12-27
  • 2021-09-11
  • 2021-12-15
  • 2021-09-05
  • 2021-10-10
  • 2022-01-12
猜你喜欢
  • 2022-12-23
  • 2021-12-12
  • 2022-01-02
  • 2021-10-05
  • 2021-12-06
  • 2021-12-06
  • 2021-07-13
相关资源
相似解决方案