标签:mellanox
最近公司内部openstack平台迁移,打通mellanox、centec交换机花了好大工夫。centec交换机个人感觉cli跟思科没什么大区别,主要是mellanox交换机配置trunk的时候没有native vlan支持,不过port支持hybrid。交换机port类型介绍看这里:http://blog.csdn.net/JesseYoung/article/details/40047749
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 mellanox交换机port配置hybrid的方式跟h3c差距好大,琢磨了好久!
本文出自 “the-way-to-cloud” 博客,请务必保留此出处http://iceyao.blog.51cto.com/9426658/1672675
标签:mellanox
原文地址:http://iceyao.blog.51cto.com/9426658/1672675