10 GbE Gateway
(sRB-20210G Module) User Manual
Version 2.0
195
Mellanox Technologies
Expected results:
sRB-20210G-61f0(config-tfm)# rules show
entry Source Source-mask Dest Dest-mask Interface Service Routing Status Log
|------|------|-------------|--------|------------|----------|--------|---------|-------|-
---
1 any any any any if0 any tunneling active 1
2 1.1.1.1 255.255.255.0 2.2.2.2 255.255.0.0 if1 MYTCP tunneling active 2
rules update route
Description:
Updates the TFM route rules.
Syntax:
rules update route [row [1..1000]] [tunneling,discard]
Example:
sRB-20210G-61f0(config-tfm)# rules update route 2 discard
Expected results:
sRB-20210G-61f0(config-tfm)# rules show
entry Source Source-mask Dest Dest-mask Interface Service Routing Status Log
|------|------|------------|---------|------------|----------|-------|--------|------|----
--
any 1 any any any if0 any tunneling active 1
2 any any 2.2.2.2 255.255.0.0 if1 MyUDP
discard
active 2
rules update service
Description:
Updates the TFM service rules.
Syntax:
rules update service [row [1..1000]] [Service,any]
Example:
sRB-20210G-61f0(config-tfm)# rules update service 2 MyUDP
Expected results:
sRB-20210G-61f0(config-tfm)# rules show
entry Source Source-mask Dest Dest-mask Interface Service Routing Status Log
|------|------|------------|--------|------------|-----------|---------|---------|-------|
---1 any any any any if0 any tunneling active 1
2 any any 2.2.2.2 255.255.0.0 if1 MyUDP tunneling active 2
rules update source
Description:
Updates the TFM source rules.
Syntax:
rules update source [row [1..1000]]
[Source-ip,any][Source-ip-mask,any]
Example:
sRB-20210G-61f0(config-tfm)# rules update source 2 any any
Expected results:
sRB-20210G-61f0(config-tfm)# rules show
entry Source Source-mask Dest Dest-mask Interface Service Routing Status Log