20210824更新!!华为配置

20210824更新!!华为配置

1.华为交换机如何查看vlan端口下对应的IP地址:

#1.进入接口查看接口配置

#2.display this 显示信息

<AC6605>
<AC6605>sys
<AC6605>system-view
Enter system view, return user view with Ctrl+Z.
[AC6605]int g0/0/3
[AC6605-GigabitEthernet0/0/3]dis
[AC6605-GigabitEthernet0/0/3]display this
#
interface GigabitEthernet0/0/3
 port link-type access
 port default vlan 44
#
return
[AC6605-GigabitEthernet0/0/3]

20210824更新!!华为配置

2.将几个端口一次性添加到一个vlan中(port-group 1)

<AC6605>sys
Enter system view, return user view with Ctrl+Z.
[AC6605]port-group 1(1是临时的,可变的,不能和已知的group一样)
[AC6605-port-group-1]group-member g0/0/3 to g0/0/6
[AC6605-port-group-1]port link-type access
[AC6605-GigabitEthernet0/0/3]port link-type access
[AC6605-GigabitEthernet0/0/4]port link-type access
[AC6605-GigabitEthernet0/0/5]port link-type access
[AC6605-GigabitEthernet0/0/6]port link-type access
[AC6605-port-group-1]port default vlan 44
[AC6605-GigabitEthernet0/0/3]port default vlan 44
[AC6605-GigabitEthernet0/0/4]port default vlan 44
[AC6605-GigabitEthernet0/0/5]port default vlan 44
[AC6605-GigabitEthernet0/0/6]port default vlan 44
[AC6605-port-group-1]quit
[AC6605]quit

 

上一篇:VLAN


下一篇:HCIP从入门到入逝(暑假学习篇9)