华三交换机互通vlan配置命令
时间: 2023-11-02 14:06:56 浏览: 219
华三交换机命令
5星 · 资源好评率100%
华三交换机互通vlan配置命令如下:
1. 创建VLAN:
[H3C] vlan 10
[H3C-vlan10] quit
2. 配置端口:
[H3C] interface gigabitethernet 1/0/1
[H3C-GigabitEthernet1/0/1] port link-type access
[H3C-GigabitEthernet1/0/1] port default vlan 10
[H3C-GigabitEthernet1/0/1] quit
3. 配置端口互通:
[H3C] interface gigabitethernet 1/0/1
[H3C-GigabitEthernet1/0/1] port link-type trunk
[H3C-GigabitEthernet1/0/1] port trunk allow-pass vlan 10
[H3C-GigabitEthernet1/0/1] quit
4. 配置交换机间互通:
[H3C] interface gigabitethernet 1/0/1
[H3C-GigabitEthernet1/0/1] port link-type trunk
[H3C-GigabitEthernet1/0/1] port trunk allow-pass vlan 10
[H3C-GigabitEthernet1/0/1] quit
[H3C] interface gigabitethernet 1/0/2
[H3C-GigabitEthernet1/0/2] port link-type trunk
[H3C-GigabitEthernet1/0/2] port trunk allow-pass vlan 10
[H3C-GigabitEthernet1/0/2] quit
注意:以上命令仅供参考,具体配置需根据实际情况进行调整。
阅读全文