Hi user! hope below can help:
Procedure:
- If a PC is directly connected to a switch, ensure that the IP addresses of the PC and VLANIF interface are on the same subnet.
- If a switch is directly connected to another network device, ensure that the connected ports have the same type and VLAN configuration and the IP addresses of the two VLANIF interfaces are on the same subnet.
For example, check the VLAN configuration of GE0/0/1.
<HUAWEI> display port vlan
Port Link Type PVID Trunk VLAN List
-------------------------------------------------------------------------------
Eth-Trunk0 hybrid 1 -
GigabitEthernet0/0/1 access 1 -
GigabitEthernet0/0/2 trunk 1 1-11 13-30
GigabitEthernet0/0/3 access 10 -
……
For example, check the IP address configuration on VLANIF interfaces.
<HUAWEI> display ip interface brief
……
Interface IP Address/Mask Physical Protocol
Vlanif1 10.1.1.1/24 down down
Vlanif3 10.2.1.1/24 up up
Vlanif10 unassigned *down down
……
Thanks!