Skip to main content
Version: current

filter-wizard


routing/filter/filter-wizard

Type: Command

ArgumentTypeDescription
chainenum
dst ( unset )super { ! , dst: alt { dst-list: enum , dst: address (flags=46/+) } }
dst-len ( unset )super { ! , dst-len: range [ .. 128] }
gateway ( unset )super { ! , dst: alt { dst-list: enum , dst: address (flags=46/+) } }
match-chain ( unset )super { ! , chain: enum }returns true if provided chain did not reject
routing-table ( unset )super { ! , table: enum }name of the routing table the route was imported from
afi ( unset )super { ! , afi: ubit (ip, ipv6, l2vpn, vpnv4, vpnv6, l2vpn-cisco) }address family of the route
protocol ( unset )super { ! , 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-offload (syscap=crs_prestera)bool
use-te-nexthopbool
blackholeboolmatches blackhole routes
ospf-type ( unset )super { ! , ospf-type: enum (intra | inter | ext1 | ext2 | nssa1 | nssa2) { intra:0, inter:1, ext1:2, ext2:3, nssa1:7, nssa2:8 } }
rpki ( unset )super { ! , rpki-type: enum (unknown | valid | invalid) }RPKI validation status of the prefix
bgp-origin ( unset )super { ! , 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-match ( unset )super { ! , match: enum (any | any-list | equal | equal-list | includes | includes-list | subset | subset-list) }
bgp-communities ( unset )object
bgp-communities-list-name ( unset )enum
bgp-ext-communities-match ( unset )super { ! , match: enum (any | any-list | equal | equal-list | includes | includes-list | subset | subset-list) }
bgp-ext-communities ( unset )object
bgp-ext-communities-list-name ( unset )enum
bgp-large-communities-match ( unset )super { ! , match: enum (any | any-list | equal | equal-list | includes | includes-list | subset | subset-list) }
bgp-large-communities ( unset )object
bgp-large-communities-list-name ( unset )enum
distance ( unset )super { ! , value: alt { num-list: enum , range: range [ .. 255] } }
scope ( unset )super { ! , value: alt { num-list: enum , range: range [ .. 255] } }
scope-target ( unset )super { ! , value: alt { num-list: enum , range: range [ .. 255] } }
bgp-weight ( unset )super { ! , value: alt { num-list: enum , range: range [ .. 65535] } }
bgp-local-pref ( unset )super { ! , value: alt { num-list: enum , range: range } }
bgp-med ( unset )super { ! , value: alt { num-list: enum , range: range } }
bgp-out-med ( unset )super { ! , value: alt { num-list: enum , range: range } }
bgp-as-path-length ( unset )super { ! , value: alt { num-list: enum , range: range } }
ospf-metric ( unset )super { ! , value: alt { num-list: enum , range: range } }
set-distance ( unset )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-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-offload (syscap=crs_prestera)bool
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-list ( unset )enum
set-bgp-ext-communitiesobject
set-bgp-large-communitiesobject
action ( unset )enum (accept | reject | jump | return)
jump-target-chain ( unset )enum
rpki-verify ( unset )enumEnable RPKI verification in the current chain from specified RPKI group
Read-only ArgumentTypeDescription
resultstring
acceptaccept matched prefix
rejectreject matched prefix, it will be stored in the memory as 'filtered' and will not be a candidate for best path
jumpjump to a specified chain
returnreturn to a parent chain