After the Return to Source (RTS) routing function is enabled, when a packet is forwarded using the route selected from two or more routes with the same priority, the system will performs the reverse route lookup to find the original link through which the request reaches the device and generate an RTS route for this link.
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | enable | boolean | |
| default | rts_mode | enum | Available values:
|
| default | expire | int | Sets the timeout value of the RTS route. If an RTS route is hit, this RTS route will be retimed; if an RTS route is not hit within the specified timeout value, this RTS route will be deleted. |
| statistics | statistics | clitext | |
| stats | rts_over_num | StorableField | |
| stats | rts_lokp | StorableField | |
| stats | match_egw_match | StorableField | |
| stats | match_hgw_match | StorableField | |
| stats | match_non | StorableField | |
| stats | match_hgw_fail | StorableField |
{
"IPRTS": {
"meta": {
"abstract": false,
"verbose_name": RTS,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
| Parameter | Type | Description |
|---|---|---|
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, statistics, stats, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: enable, rts_mode, expire, statistics, rts_over_num, rts_lokp, match_egw_match, match_hgw_match, match_non, match_hgw_fail, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | enable | boolean | |
| default | rts_mode | enum | Available values:
|
| default | expire | int | Sets the timeout value of the RTS route. If an RTS route is hit, this RTS route will be retimed; if an RTS route is not hit within the specified timeout value, this RTS route will be deleted. |
| statistics | statistics | clitext | |
| stats | rts_over_num | StorableField | |
| stats | rts_lokp | StorableField | |
| stats | match_egw_match | StorableField | |
| stats | match_hgw_match | StorableField | |
| stats | match_non | StorableField | |
| stats | match_hgw_fail | StorableField |
{
"IPRTS": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"IPRTS": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"IPRTS": {
<field>:<value>,
}
}
{
<field_name>:<value>
}
When field name is specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| field_name | URI | (optional) Target field name to update. Available field names are: enable, rts_mode, expire, statistics, rts_over_num, rts_lokp, match_egw_match, match_hgw_match, match_non, match_hgw_fail, |
| Field Name | Type | Description |
|---|---|---|
| enable | boolean | |
| rts_mode | enum | Available values:
|
| expire | int | Sets the timeout value of the RTS route. If an RTS route is hit, this RTS route will be retimed; if an RTS route is not hit within the specified timeout value, this RTS route will be deleted. |
All configuration fields and their values are replied:
{
"IPRTS": {
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}