10 GbE Gateway
(sRB-20210G Module) User Manual
Version 2.0
101
Mellanox Technologies
Prompt
Command name
Description
10G(config)#
route
Switches to Route mode
10G(config-route)#
static-route set
[row][Destination]
[netmask]
[Gateway][Iface]
Defines the static routing rules of
interfaces in a table.
row
is the row number in the table chosen
for the new rule.
Destination
is the destination subnet.
netmask
is the destination subnet
Netmask.
Gateway
is the IP or IB gateway through
which the traffic is transferred.
Iface
is the logical name of the interface
that the user defined in the Interface table.
Example:
10G-ipr-20(config-route)# static-route show
entry destination netmask gateway interface
|------|-------------------|-------------------|-------------------|---------
1 172.25.0.0 255.255.0.0 172.28.0.1 smb-mng
10G-ipr-20(config-route)# static-route set ?
static-route set static-route set [row [1..10]][subnetDestination][netmas
k][Gateway][Iface]
10G-ipr-20(config-route)# static-route set 2 1.1.0.0 255.255.0.0 10.11.11.11 Hipi
10G-ipr-20(config-route)# static-route show
entry destination netmask gateway interface
|------|-------------------|-------------------|-------------------|---------
1 172.25.0.0 255.255.0.0 172.28.0.1 smb-mng
2 1.1.0.0 255.255.0.0 10.11.11.11 Hipi
10G(config-route)#
static-route show
Shows the static route table with the list of
interfaces defined by the user.
Example:
10G(config-route)# static-route show
entry destination netmask gateway
interface
|------|---------------|-------------------|-------------
-----|--------
1 172.25.0.0 255.255.0.0 172.28.0.1
smb-mng
2 10.10.10.0 255.255.255.0 175.123.34.200
if0
10G(config-route)#
static-route remove
Removes the static route (removes the
row in the static-route table).
Example:
10G(config-route)# static-route
remove 2