Version 2.0
Setting-up Networks
84
Mellanox Technologies
To set the default gateway via the CLI:
Step
From the
10G(config-route)#
menu, run the following command:
10G(config-route)# default-gw set [row [1..65]][Gateway][Iface]
Examples:
The following example shows how to configure the default gateway of the sRB-20210G.
10G(config-route)# default-gw set 2 smb-mng 192.168.60.254
NOTE:
smb-mng
is the sRB-20210G managing interface though which the Switch accesses the
sRB-20210G. This is used to manage the sRB-20210G from the Switch. The default
gateway is defined on the sRB-20210G
smb-mng
interface through which all packets are
transferred to/from the managing interface of the Switch
smb-mng
.