Cisco Vs Huawei LAB N-1 (Configuring Access Ports)

Access link: connects a PC to a switch. Generally, a PC does not know which VLAN it belongs to, and PC hardware cannot distinguish frames with VLAN tags. Therefore, PCs send and receive only untagged frames.

CISCO
NetworksHeaven(config)# interface Ethernet 0/0/5
NetworksHeaven(config-if)# switchport mode access
NetworksHeaven(config-if)# switchport access vlan 2
NetworksHeaven(config-if)# end
NetworksHeaven#
Useful Commands
SW-NetworksHeaven# show  vlan brief
HUAWEI
[NetworksHeaven] interface Ethernet 0/0/5
[NetworksHeaven-Ethernet0/0/5] port  link-type access
[NetworksHeaven-Ethernet0/0/5] port  default  vlan  2
[NetworksHeaven-Ethernet0/0/5] return
<NetworksHeaven>
Useful Commands
<NetworksHeaven> display  vlan  2

Cisco Vs Huawei CLI Commands in Slides