Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
[num prop readable]
dst-len
bgp-path-len
bgp-input-local-as
bgp-input-remote-as
bgp-output-local-as
bgp-output-remote-as
ospf-metric
ospf-tag
rip-metric
rip-tag

[num prop writable]
distance
scope
scope-target
bgp-weigth
bgp-med
bgp-out-med
bgp-local-pref
bgp-igp-metric
bgp-path-peer-prepend
bgp-path-prepend
ospf-ext-metric
ospf-ext-tag
rip-ext-metric 
rip-ext-tag 

[flag prop readable]
active
bgp-attomic-aggregate
bgp-communities-empty
bgp-communities-ext-empty
bgp-communities-large-empty
bgp-network
ospf-dn

[prfx prop readable]
dst
gw
ospf-fwd
ospf-ext-fwd
bgp-input-local-addr
bgp-input-remote-addr
bgp-output-local-addr
bgp-output-remote-addr

[flag prop writable]
ospf-ext-dn
blackhole
use-te-nexthop

[predicate] (all can be prefixed with 'not' to negate
bgp-communities|bgp-communities-ext|bgp-communities-large
    	equal|any|includes|subset
		{inline set}	
    	equal-set|any-set|includes-set|subset-set
		{set name}
    	any-regexp|subset-regexp
		{regexp}
comment
    	text|find|regexp
		{string}
chain
    	{chain name}
vrf
    	{vrf}
rtab
    	{rtab}
gw-interface
    	{interface}
gw-check
    	none|arp|icmp|bfd|bfd-mh	
afi
    	ipv4|ipv6|l2vpn|l2vpn-cisco|vpnv4|vpnv6
		,...
protocol
    	connected|static|bgp|ospf|rip|dhcp|fantasy|modem|vpn
		,...
bpg-origin
    	igp|egp|incomplete
		,...
bgp-as-path
    	{regexp}
rpki
    	valid|invalid|unknown
ospf-type
    	intra|inter|ext1|ext2|nssa1|nssa2
ospf-ext-type
    	type1|type2
[num prop readable]
    	in
		{int..int}|{int-int}
    	==|!=|<=|>=|<|>
		{int}
	[num prop readable]
[prfx prop readable]
    	!=|==|in
		{address 46/}
[flag prop readable]


[block]
if ([predicate] &&/|| ...) { [block] } [ else {[block]} ]
accept|reject|return
jump {chain name}
unset
    	pref-src|bgp-med|bgp-out-med|bgp-local-pref
append
    	comment
		{string}
    	bgp-communities|bgp-communities-ext|bgp-communities-large
		{inline community set}|{set name}
filter
    	bgp-communities|bgp-communities-ext|bgp-communities-large
	regexp
	    {regexp}
	{inline community set}|{set name}
delete
    	bgp-communities
		regexp
	    		{regexp}
		{inline community set}|{set name}
		wk|other
		    	,...
    	bgp-communities-ext
		regexp
	    		{regexp}
		{inline community set}|{set name}
		rt|soo|other
		    	,...
    	bgp-communities-large
		regexp
	    		{regexp}
		{inline community set}|{set name}
		all
set
    	[num prop writable]
	[+|-][num prop readable]|[num prop writable]
    	gw
		{address 46i}
    	gw-interface
		{interface}
    	gw-check
		none|arp|icmp|bfd|bfd-mh	
    	pref-src
		{address 46}
    	bgp-origin
		igp|egp|incomplete
    	ospf-ext-fwd
		{address 46}
    	ospf-ext-type
		type1|type2
    	comment
		{string}
    	bgp-communities
		{inline community set}|{set name}
    	bgp-communities-ext
		{inline community set}|{set name}
    	bgp-communities-large
		{inline community set}|{set name}
rpki-verify 
    	{rpki group name}



/routing/filter/select-chain

...