【trunk】
新华三
HC3\] int g1/0/3 \[HC3-g1/0/3\] port link-type trunk \[HC3-g1/0/3\] port trunk permit vlan 10 20 华为 \[HUAWEI\] int g1/0/3 \[HUAWEI-g1/0/3\] port link-type trunk \[HUAWEI-g1/0/3\] port trunk permit vlan 10 20
【access】 10---g1/0/1 20---g1/0/2
两者:vlan 10
vlan 20
新华三
HC3\] vlan 10 \[HC3-VLAN10\] port g1/0/1 \[HC3\] vlan 20 \[HC3-VLAN20\] port g1/0/2 华为 \[HUAWEI\] int g1/0/1 \[HUAWEI-G1/0/1\] port link-type acess \[HUAWEI-G1/0/1\] port default vlan 10 \[HUAWEI\] int g1/0/2 \[HUAWEI-G1/0/2\] port link-type acess \[HUAWEI-G1/0/2\] port default vlan 20