10 GbE Gateway
(sRB-20210G Module) User Manual
Version 2.0
19
Mellanox Technologies
Step 4
interface show all
View all the interfaces in the sRB-20210G
Example:
10G (config-if)# interface show all
entry alias ip mask broadcast vlan
pkey(hex) trunk
|-----|-----|----------|------------|-----
1 smb-mng 172.28.1.18 255.255.0.0 172.28.255.255 no
0x7fff No port
2 if0 192.168.2.6 255.255.0.0 192.168.255.255 no
0x7fff P1-2
Step 5
exit
Exits the Interface menu.
Step 6
route
Enter the sRB-20210G Configuration Route menu.
Step 7
default-gw set [row
[1..10]][Gateway][Iface]
If you are setting the management through fast Eth
(inband) then you must set the default gateway
address to the smb-mng management interface.
This command sets the default gateway as shown in
the example below. This will add the default gateway
to the Route Table.
Set the default gateway of the management as
shown in the following examples. This will add the
default gateway to the Static Route Table.
IMPORTANT:
If you are setting the management through fast
Ethernet interface (out-of-band), then you must set
the default gateway address to the smb-mng
management interface.
I
f you are setting the management through InfiniBand
(inband), then you must set the default gateway
address to the if0 management interface.
Example (Out-of-band
– Ethernet Interface):
10G-Card(config-route)# default-gw set 1
172.30.0.1 smb-mng
Expected Result:
sRB-20210G-6044(config-route)# static-route show
entry destination netmask gateway interface
|-----|----------|---------|---------|--------
1 0.0.0.0 0.0.0.0 172.30.0.1 smb-mng
Example
(Inband
– InfiniBand Interface):
10G-Card(config-route)# default-gw set 1 172.25.0.1
if0
Expected Result:
sRB-20210G-6044(config-route)# static-route show
entry destination netmask gateway interface
|-----|----------|---------|---------|--------
1 0.0.0.0 0.0.0.0 172.25.0.1 if0
Step 8
end
Exits to the Switch chassis mode.
The sRB-20210G is now ready; traffic is set to be transferred.