| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Priority of the routing rule. Lower values are matched first. Must be between 1 and 32765 (excluding reserved priorities [0 32500 32501 32766 32767]). Must be unique across all routing rules in the configuration. | |
src | Prefix | Source address prefix to match. If empty, matches all sources. | |
dst | Prefix | Destination address prefix to match. If empty, matches all destinations. | |
table | RoutingTable | The routing table to look up if the rule matches. | |
action | RoutingRuleAction | The action to perform when the rule matches. Defaults to “unicast” (table lookup). | unicastblackholeunreachableprohibit |
iifName | string | Match packets arriving on this interface. | |
oifName | string | Match packets going out on this interface. | |
fwMark | uint32 | Match packets with this firewall mark value. | |
fwMask | uint32 | Mask for the firewall mark comparison. |