Version 2.0
Command Line Interface (CLI) Management
196
Mellanox Technologies
|------|------|------------|--------|------------|----------|---------|---------|-------|-
---
1 any any any any if0 any tunneling active 1
2 any any 2.2.2.2 255.255.0.0 if1 MYTCP tunneling active 2
service add ICMP
Description:
Sets an Internet Control Message Protocol (ICMP) service. The ICMP has
different message types that range over the following values: 0. 3-5, 8-18.
Please refer to the relevant ICMP documentation for the ICMP
message types and their matching values (e.g.,
W. Richard Stevens
–
TCP/IP Illustrated Volume 1
– p.71).
If
any
is indicated instead of the possible values shown, the service
will cover the entire spectrum of ICMP message types. Please note
that the
type
entry only has meaning in ICMP services. The
name
is
the user-defined ICMP service name.
Syntax:
service add ICMP [type|any][name]
Example:
sRB-20210G-61f0(config-service)# service add ICMP any V1
Expected results:
sRB-20210G-61f0(config-service)# service show
entry name protocol Sport Dport type
|------|----------|---------|---------|---------|---------
1 any any any any any
2 MYTCP TCP 80 30 *
3 MyUDP UDP 3085 80 *
4 V1 ICMP * * any
service add IGMP
Description:
Sets an Internet Group Management Protocol (IGMP) service.
The
name
parameter is the user-defined service name.
Syntax:
service add IGMP [name]
sRB-20210G-61f0(config-service)# service add IGMP MyIGMP
Expected results:
sRB-20210G-61f0(config-service)# service show
entry name protocol Sport Dport type
|------|---------|---------|---------|---------|---------
1 any any any any any
2 MYTCP TCP 80 30 *
3 MyUDP UDP 3085 80 *
4 V1 ICMP * * any
5 MyIGMP IGMP * * *