Mellanox Switch enable VPI and Gateway

From Define Wiki
Revision as of 13:59, 11 June 2015 by Chenhui (talk | contribs) (Created page with "== Make the Switch to single-switch mode == Step 1. Make sure you have the latest software version installed. Step 2. Install a gateway license. Step 3. Set the system profi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Make the Switch to single-switch mode

Step 1. Make sure you have the latest software version installed. Step 2. Install a gateway license. Step 3. Set the system profile to be “vpi-single-switch”. Step 4. Use the port type force command to change the disabled ports from Ethernet to InfiniBand. This step may take several minutes. Rev 1.2

switch (config)# license install <license> 
switch (config)# system profile vpi-single-switch ...
switch (config)# port 1/9-1/36 type infiniband force 
switch (config)# show ports type Ethernet: 1/1, 1/2, … 1/8 Infiniband: 1/9, 1/10 … 1/36 
switch (config) #

Configure Gateway

  • disabling IP routing, IGMP snooping and Infiniband SM
switch (config)# no ip routing
switch (config)# no ip igmp snooping
switch (config)# no ib sm
  • configuring Proxy-ARP
switch (config)# ip proxy-arp 
switch (config)# show ip proxy-arp 
Proxy-app: enabled 
switch (config)#
switch (config)# interface proxy-arp 1
 switch (config interface proxy-arp 1)#
switch (config interface proxy-arp 1)# ip address 10.10.10.10 
switch (config interface proxy-arp 1)# ip netmask /24
switch (config)# vlan 10
switch (config interface proxy-arp 1)# ip vlan 10
switch (config interface proxy-arp 1)# ip pkey 0x7fff
switch (config interface proxy-arp 1)# no shutdown
switch (config interface ethernet 1/1)# switchport access vlan 10
switch (config interface proxy-arp 1)# ip route default 10.10.10.254