@@ -51,6 +51,20 @@ in this section.
51
51
52
52
Set match criteria based on connection mark.
53
53
54
+ .. cfgcmd :: set policy route <name> rule <n> mark <match_criteria>
55
+ .. cfgcmd :: set policy route6 <name> rule <n> mark <match_criteria>
56
+
57
+ Match based on the firewall mark (fwmark), where <match_criteria> can be:
58
+
59
+ * <0-2147483647> a single fwmark
60
+ * !<0-2147483647> everything except a single fwmark
61
+ * <start-end> a range of marks
62
+ * !<start-end> everything except the range of marks
63
+
64
+ .. note :: When using the ``set table`` or ``set vrf`` commands the mark
65
+ settings are ignored and overwritten with a table-specific mark that
66
+ is set to 0x7FFFFFFF - the id of the table/VRF.
67
+
54
68
.. cfgcmd :: set policy route <name> rule <n> source address
55
69
<match_criteria>
56
70
.. cfgcmd :: set policy route <name> rule <n> destination address
@@ -273,7 +287,20 @@ setting a different routing table.
273
287
274
288
Set the routing table to forward packet with.
275
289
290
+ .. note :: When using the ``set table`` or ``set vrf`` commands matching
291
+ against the mark is not possible, because it gets overwritten with a
292
+ table-specific mark that is 0x7FFFFFFF - the id of the table/VRF.
293
+
276
294
.. cfgcmd :: set policy route <name> rule <n> set tcp-mss <500-1460>
277
295
.. cfgcmd :: set policy route6 <name> rule <n> set tcp-mss <500-1460>
278
296
279
297
Set packet modifications: Explicitly set TCP Maximum segment size value.
298
+
299
+ .. cfgcmd :: set policy route <name> rule <n> set vrf <default | text >
300
+ .. cfgcmd :: set policy route6 <name> rule <n> set vrf <default | text >
301
+
302
+ Set the VRF to forward packet with.
303
+
304
+ .. note :: When using the ``set table`` or ``set vrf`` commands matching
305
+ against the mark is not possible, because it gets overwritten with a
306
+ table-specific mark that is 0x7FFFFFFF - the id of the table/VRF.
0 commit comments