/routing/filter/filter-wizard
filter-wizard
/routing/filter/filter-wizard 的 RouterOS 命令参考。
routing/filter/filter-wizard
Type: Command
| 参数 | 类型 | 描述 |
|---|---|---|
chain | enum | |
dst | super { ! , dst: alt { dst-list: enum , dst: address (flags=46/+) } } | |
dst-len | super { ! , dst-len: range [ .. 128] } | |
gateway | super { ! , dst: alt { dst-list: enum , dst: address (flags=46/+) } } | |
match-chain | super { ! , chain: enum } | 如果提供的链未拒绝则返回 true |
routing-table | super { ! , table: enum } | 导入该路由的路由表名称 |
afi | super { ! , afi: ubit (ip, ipv6, l2vpn, vpnv4, vpnv6, l2vpn-cisco) } | 路由的地址族 |
protocol | super { ! , protocol: ubit (connected, static, rip, ospf, isis, bgp, vpn, dhcp, fantasy, modem, slaac, bgp-mpls-vpn) } | 导入该路由的协议类型 |
bgp-atomic-aggregate | bool | |
bgp-local-origin | bool | 如果前缀为本地发起(例如 BGP network)则返回 true |
suppress-hw-offload | bool | |
use-te-nexthop | bool | |
blackhole | bool | 匹配 blackhole 路由 |
ospf-type | super { ! , ospf-type: enum (intra | inter | ext1 | ext2 | nssa1 | nssa2) { intra:0, inter:1, ext1:2, ext2:3, nssa1:7, nssa2:8 } } | |
rpki | super { ! , rpki-type: enum (unknown | valid | invalid) } | 前缀的 RPKI 验证状态 |
bgp-origin | super { ! , bgp-origin: ubit (igp, egp, incomplete) } | 匹配 BGP Origin 属性 |
bgp-as-path | string | 匹配 BGP AS-Path 属性的正则表达式,详情请参阅文档 |
bgp-communities-match | super { ! , match: enum (any | any-list | equal | equal-list | includes | includes-list | subset | subset-list) } | |
bgp-communities | object | |
bgp-communities-list-name | enum | |
bgp-ext-communities-match | super { ! , match: enum (any | any-list | equal | equal-list | includes | includes-list | subset | subset-list) } | |
bgp-ext-communities | object | |
bgp-ext-communities-list-name | enum | |
bgp-large-communities-match | super { ! , match: enum (any | any-list | equal | equal-list | includes | includes-list | subset | subset-list) } | |
bgp-large-communities | object | |
bgp-large-communities-list-name | enum | |
distance | super { ! , value: alt { num-list: enum , range: range [ .. 255] } } | |
scope | super { ! , value: alt { num-list: enum , range: range [ .. 255] } } | |
scope-target | super { ! , value: alt { num-list: enum , range: range [ .. 255] } } | |
bgp-weight | super { ! , value: alt { num-list: enum , range: range [ .. 65535] } } | |
bgp-local-pref | super { ! , value: alt { num-list: enum , range: range } } | |
bgp-med | super { ! , value: alt { num-list: enum , range: range } } | |
bgp-out-med | super { ! , value: alt { num-list: enum , range: range } } | |
bgp-as-path-length | super { ! , value: alt { num-list: enum , range: range } } | |
ospf-metric | super { ! , value: alt { num-list: enum , range: range } } | |
set-distance | alt { num-props: enum (distance | scope | target-scope | dst-len | bgp-weight | bgp-med | bgp-out-med | bgp-local-pref | bgp-path-len | bgp-path-prepend | bgp-path-peer-prepend | bgp-input-local-as | bgp-input-remote-as | bgp-output-local-as | bgp-output-remote-as | ospf-metric | ospf-tag | ospf-ext-metric | ospf-ext-tag | rip-metric | rip-tag | rip-ext-metric | rip-ext-tag) , val: num [1 .. 255] , value: composite { inc: [ enum ( | add | sub)] , val: num [1 .. 255] } } | |
set-scope | alt { num-props: enum (distance | scope | target-scope | dst-len | bgp-weight | bgp-med | bgp-out-med | bgp-local-pref | bgp-path-len | bgp-path-prepend | bgp-path-peer-prepend | bgp-input-local-as | bgp-input-remote-as | bgp-output-local-as | bgp-output-remote-as | ospf-metric | ospf-tag | ospf-ext-metric | ospf-ext-tag | rip-metric | rip-tag | rip-ext-metric | rip-ext-tag) , val: num [1 .. 255] , value: composite { inc: enum ( | add | sub) , val: num [1 .. 255] } } | |
set-scope-target | alt { num-props: enum (distance | scope | target-scope | dst-len | bgp-weight | bgp-med | bgp-out-med | bgp-local-pref | bgp-path-len | bgp-path-prepend | bgp-path-peer-prepend | bgp-input-local-as | bgp-input-remote-as | bgp-output-local-as | bgp-output-remote-as | ospf-metric | ospf-tag | ospf-ext-metric | ospf-ext-tag | rip-metric | rip-tag | rip-ext-metric | rip-ext-tag) , val: num [1 .. 255] , value: composite { inc: enum ( | add | sub) , val: num [1 .. 255] } } | |
set-bgp-weight | alt { num-props: enum (distance | scope | target-scope | dst-len | bgp-weight | bgp-med | bgp-out-med | bgp-local-pref | bgp-path-len | bgp-path-prepend | bgp-path-peer-prepend | bgp-input-local-as | bgp-input-remote-as | bgp-output-local-as | bgp-output-remote-as | ospf-metric | ospf-tag | ospf-ext-metric | ospf-ext-tag | rip-metric | rip-tag | rip-ext-metric | rip-ext-tag) , val: num [ .. 65535] , value: composite { inc: enum ( | add | sub) , val: num [ .. 65535] } } | |
set-bgp-local-pref | alt { num-props: enum (distance | scope | target-scope | dst-len | bgp-weight | bgp-med | bgp-out-med | bgp-local-pref | bgp-path-len | bgp-path-prepend | bgp-path-peer-prepend | bgp-input-local-as | bgp-input-remote-as | bgp-output-local-as | bgp-output-remote-as | ospf-metric | ospf-tag | ospf-ext-metric | ospf-ext-tag | rip-metric | rip-tag | rip-ext-metric | rip-ext-tag) , val: num , value: composite { inc: enum ( | add | sub) , val: num } } | 设置 BGP Local-Pref 属性的值 |
set-bgp-med | alt { num-props: enum (distance | scope | target-scope | dst-len | bgp-weight | bgp-med | bgp-out-med | bgp-local-pref | bgp-path-len | bgp-path-prepend | bgp-path-peer-prepend | bgp-input-local-as | bgp-input-remote-as | bgp-output-local-as | bgp-output-remote-as | ospf-metric | ospf-tag | ospf-ext-metric | ospf-ext-tag | rip-metric | rip-tag | rip-ext-metric | rip-ext-tag) , val: num , value: composite { inc: enum ( | add | sub) , val: num } } | |
set-bgp-out-med | alt { num-props: enum (distance | scope | target-scope | dst-len | bgp-weight | bgp-med | bgp-out-med | bgp-local-pref | bgp-path-len | bgp-path-prepend | bgp-path-peer-prepend | bgp-input-local-as | bgp-input-remote-as | bgp-output-local-as | bgp-output-remote-as | ospf-metric | ospf-tag | ospf-ext-metric | ospf-ext-tag | rip-metric | rip-tag | rip-ext-metric | rip-ext-tag) , val: num , value: composite { inc: enum ( | add | sub) , val: num } } | |
set-suppress-hw-offload | bool | |
set-use-te-nexthop | bool | |
set-blackhole | bool | |
set-gw-check | enum (none | arp | ping | bfd) | 设置网关检查 |
set-gateway | address (flags=46) | |
set-comment | string | |
set-bgp-communities | object | 设置 BGP Communities 属性的值 |
set-bgp-communities-list | enum | |
set-bgp-ext-communities | object | |
set-bgp-large-communities | object | |
action | enum (accept | reject | jump | return) | |
jump-target-chain | enum | |
rpki-verify | enum | 从指定的 RPKI 组在当前链中启用 RPKI 验证 |
| 只读参数 | 类型 | 描述 |
|---|---|---|
result | string |