10 GbE Gateway
(sRB-20210G Module) User Manual
Version 2.0
199
Mellanox Technologies
Example:
sRB-20210G-61f0(config-service)# service update Dport 4 8
Expected result:
sRB-20210G-61f0(config-service)# service show
entry name protocol Sport Dport type
|------|---------------------------|---------|---------|---------
|-------
1 any any any any any
2 icmp8 ICMP * * 8
3 icmp0 ICMP * * 0
4 TCP1 TCP 8 10 *
service update name
Description:
Modifies the service name.
Syntax:
service update name [row][name]
Example:
sRB-20210G-61f0(config-service)# service update name 4 TCP2
Expected results:
sRB-20210G-61f0(config-service)# service show
entry name protocol Sport Dport type
|------|----------------------------|---------|---------|--------
-|-------
1 any any any any any
2 icmp8 ICMP * * 8
3 icmp0 ICMP * * 0
4 TCP2 TCP 5 10 *
service update type
Description:
Modifies the service type. Note that this is only applicable to ICMP
protocol services. The
type
parameter is the ICMP packet type. (The
rules matching the updated service will be updated accordingly).
Syntax:
service update type [row][protocol]
Example:
sRB-20210G-61f0(config-service)# service update type 3 3
Expected results:
sRB-20210G-61f0(config-service)# service show
entry name protocol Sport Dport type
|------|-----------------------------|---------|---------|-------
--|-------
1 any any any any any
2 icmp8 ICMP * * 8
3 icmp0 ICMP * * 3
4 TCP2 TCP 5 10 *