openstack [standalone: unknown] # show running-config # mellanox交换机 interface ethernet 1/48 switchport mode hybrid # 端口类型设置为hybrid interface ethernet 1/48 switchport access vlan 100 # vlan 100不打tag interface ethernet 1/48 switchport hybrid allowed-vlan add 101 interface ethernet 1/48 switchport hybrid allowed-vlan add 102 interface ethernet 1/48 switchport hybrid allowed-vlan add 103 interface ethernet 1/48 switchport hybrid allowed-vlan add 104 interface ethernet 1/48 switchport hybrid allowed-vlan add 105 inter-openstack# show running-config # centec交换机 Building configuration... version 5.2.12.7.S.fcs ! interface eth-0-49 switchport mode trunk switchport trunk native vlan 100 # 跟思科一样 switchport trunk allowed vlan all