Cisco Vs Huawei CLI 14-2 (Configuring Trunk Ports)

Trunk link: connects a switch to another switch or to a router. Data of different VLANs are transmitted along a trunk link. The two ends of a trunk link must be able to distinguish frames with VLAN tags. Therefore, only tagged frames are transmitted along trunk links.
CISCO
NetworksHeaven(config)# interface Ethernet 0/0/5 NetworksHeaven(config-if)# switchport mode trunk NetworksHeaven(config-if)# switchport trunk encapsulation dot1q NetworksHeaven(config-if)# end NetworksHeaven#
Useful Commands SW-NetworksHeaven# show interfaces trunk SW-NetworksHeaven# show interfaces status
HUAWEI
[NetworksHeaven] interface Ethernet 0/0/5 [NetworksHeaven-Ethernet0/0/5] port  link-type trunk [NetworksHeaven-Ethernet0/0/5] port trunk allow-pass vlan all [NetworksHeaven-Ethernet0/0/5] return <NetworksHeaven>
Useful Commands <NetworksHeaven> display port vlan  Ethernet 0/0/5 <NetworksHeaven> display port vlan
 

Cisco Vs Huawei CLI Commands in Slides