Versions Compared

Key

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

...

Code Block
languageros
/ip/firewall/address-list
add list=bgp_list dst-address=192.168.1.0/24
add list=bgp_list dst-address=192.168.0.0/24
add list=bgp_list dst-address=172.16.0.0/24

/routing/bgp/template
set default input.filter=bgp_in .accept-nlri=bgp_list


Code Block
languagerosactionscript3
/routing/filter/rule 
add chain=bgp_in rule={ 
  if ([prfx-value is=dst<subsumes>182.168.0.0/16]) then={ action accept}} 
add chain=bgp_in rule={ 
  num-value set=bgp-local-pref<sub>1; 
  num-prop set=bgp-igp-metric<assign>ospf-ext-metric; 
  action=accept 
}

...