/routing/filter/filter-wizard

filter-wizard

/routing/filter/filter-wizard 的 RouterOS 命令参考。


routing/filter/filter-wizard

Type: Command

参数类型描述
chainenum
dstsuper { ! , dst: alt { dst-list: enum , dst: address (flags=46/+) } }
dst-lensuper { ! , dst-len: range [ .. 128] }
gatewaysuper { ! , dst: alt { dst-list: enum , dst: address (flags=46/+) } }
match-chainsuper { ! , chain: enum }如果提供的链未拒绝则返回 true
routing-tablesuper { ! , table: enum }导入该路由的路由表名称
afisuper { ! , afi: ubit (ip, ipv6, l2vpn, vpnv4, vpnv6, l2vpn-cisco) }路由的地址族
protocolsuper { ! , protocol: ubit (connected, static, rip, ospf, isis, bgp, vpn, dhcp, fantasy, modem, slaac, bgp-mpls-vpn) }导入该路由的协议类型
bgp-atomic-aggregatebool
bgp-local-originbool如果前缀为本地发起(例如 BGP network)则返回 true
suppress-hw-offloadbool
use-te-nexthopbool
blackholebool匹配 blackhole 路由
ospf-typesuper { ! , ospf-type: enum (intra | inter | ext1 | ext2 | nssa1 | nssa2) { intra:0, inter:1, ext1:2, ext2:3, nssa1:7, nssa2:8 } }
rpkisuper { ! , rpki-type: enum (unknown | valid | invalid) }前缀的 RPKI 验证状态
bgp-originsuper { ! , bgp-origin: ubit (igp, egp, incomplete) }匹配 BGP Origin 属性
bgp-as-pathstring匹配 BGP AS-Path 属性的正则表达式,详情请参阅文档
bgp-communities-matchsuper { ! , match: enum (any | any-list | equal | equal-list | includes | includes-list | subset | subset-list) }
bgp-communitiesobject
bgp-communities-list-nameenum
bgp-ext-communities-matchsuper { ! , match: enum (any | any-list | equal | equal-list | includes | includes-list | subset | subset-list) }
bgp-ext-communitiesobject
bgp-ext-communities-list-nameenum
bgp-large-communities-matchsuper { ! , match: enum (any | any-list | equal | equal-list | includes | includes-list | subset | subset-list) }
bgp-large-communitiesobject
bgp-large-communities-list-nameenum
distancesuper { ! , value: alt { num-list: enum , range: range [ .. 255] } }
scopesuper { ! , value: alt { num-list: enum , range: range [ .. 255] } }
scope-targetsuper { ! , value: alt { num-list: enum , range: range [ .. 255] } }
bgp-weightsuper { ! , value: alt { num-list: enum , range: range [ .. 65535] } }
bgp-local-prefsuper { ! , value: alt { num-list: enum , range: range } }
bgp-medsuper { ! , value: alt { num-list: enum , range: range } }
bgp-out-medsuper { ! , value: alt { num-list: enum , range: range } }
bgp-as-path-lengthsuper { ! , value: alt { num-list: enum , range: range } }
ospf-metricsuper { ! , value: alt { num-list: enum , range: range } }
set-distancealt { 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-scopealt { 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-targetalt { 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-weightalt { 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-prefalt { 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-medalt { 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-medalt { 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-offloadbool
set-use-te-nexthopbool
set-blackholebool
set-gw-checkenum (none | arp | ping | bfd)设置网关检查
set-gatewayaddress (flags=46)
set-commentstring
set-bgp-communitiesobject设置 BGP Communities 属性的值
set-bgp-communities-listenum
set-bgp-ext-communitiesobject
set-bgp-large-communitiesobject
actionenum (accept | reject | jump | return)
jump-target-chainenum
rpki-verifyenum从指定的 RPKI 组在当前链中启用 RPKI 验证
只读参数类型描述
resultstring