10 GbE Gateway
(sRB-20210G Module) User Manual
Version 2.0
93
Mellanox Technologies
Prompt
Command name
Description
192.168.3.200
255.255.255.0 if0
icmp tunneling 3
packet arrives at the sRB-20210G from
source IP
192.168.3.1
to destination IP
192.168.3.200
, on interface if0.
The actions are:
Route tunneling
Increment counter 15 by 1
The rule will be treated according to the
icmp service predefined by the user. If there
are no other TFM rules with a higher priority
(i.e., a lower index number), then this rule
will be applied to the packet. Therefore, the
packet will be either discarded or forwarded
and log counter #3 will be incremented by 1.
10G(config-tfm)#
rules remove [entry
| all]
Removes a TFM rule entry or all rules.
10G(config-tfm)#
rules show
Displays all TFM rules defined on all
interfaces.
10G#
statistic
Changes to statistic mode
10G(statistic)#
Log show
Displays all the statistics.
8.2.1.10
Adding a New Service via the CLI
When adding a TFM rule, the service matching the new TFM rule must first be defined. The
service refers to the packet’s protocol type. Each TFM rule matches packets that match one
service.
Command name
Description
Step 1
guest
a. Enter the guest mode. The default
password for the guest user is
voltaire.
b. Enter the Privileged mode as follows:
Type enable and enter the admin password (The
default password for the admin user is
123456
.)
OR
admin
Enter directly the privileged mode.
The default password for the admin user is
123456
.
Note:
When connecting to the sRB-20210G via
the switch using the
io connect
command, you
are already in admin mode and do not need a
password.
Step 2
config
Enter the Config mode (from Privileged mode).
Step 3
service
Enter the Service configuration mode.
Step 4
service add
Sets the service.
You can add the following protocols: