只需要11条命令,轻松玩转Vlan配置。
[Huawei]vlan 10
[Huawei-GigabitEthernet0/0/1] port link-type access
[Huawei-GigabitEthernet0/0/1]port default vlan 10
[Huawei-GigabitEthernet0/0/24]port link-type trunk
[Huawei-GigabitEthernet0/0/24]port trunk allow-pass vlan 10
[Huawei]interface Vlanif 10
[Huawei-Vlanif10]ip address 192.168.1.254 24
[R1]interface GigabitEthernet 0/0/0.1
[R1-GigabitEthernet0/0/0.1]dot1q termination vid 10
[R1-GigabitEthernet0/0/0.1]ip address 192.168.10.254 255.255.255.0
[R1-GigabitEthernet0/0/0.1]arp broadcast enable
你理解每条配置命令的用途吗?大家一起来交流、相互学习!
#我爱学习智能化##2022生机大会#