/routing/filter/filter-wizard

当前显示英文原文,切换到「中文」可查看译文。

filter-wizard

RouterOS command reference for /routing/filter/filter-wizard.


routing/filter/filter-wizard

Type: Command

ArgumentTypeDescription
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 }returns true if provided chain did not reject
routing-tablesuper { ! , table: enum }name of the routing table the route was imported from
afisuper { ! , afi: ubit (ip, ipv6, l2vpn, vpnv4, vpnv6, l2vpn-cisco) }address family of the route
protocolsuper { ! , protocol: ubit (connected, static, rip, ospf, isis, bgp, vpn, dhcp, fantasy, modem, slaac, bgp-mpls-vpn) }protocol type from which the route was imported
bgp-atomic-aggregatebool
bgp-local-originboolreturns true if prefix is locally originated, e.g BGP network
suppress-hw-offloadbool
use-te-nexthopbool
blackholeboolmatches blackhole routes
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 validation status of the prefix
bgp-originsuper { ! , bgp-origin: ubit (igp, egp, incomplete) }matches BGP Origin attribute
bgp-as-pathstringregexp that matches BGP AS-Path attribute, see documentation for more details
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 } }set a value of the BGP Local-Pref attribute
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 gateway check
set-gatewayaddress (flags=46)
set-commentstring
set-bgp-communitiesobjectset a value of the BGP Communities attribute
set-bgp-communities-listenum
set-bgp-ext-communitiesobject
set-bgp-large-communitiesobject
actionenum (accept | reject | jump | return)
jump-target-chainenum
rpki-verifyenumEnable RPKI verification in the current chain from specified RPKI group
Read-only ArgumentTypeDescription
resultstring